Pieter Noordhuis
414a08a4f3
Don't hardcode make to "make"
2010-11-21 16:44:17 +01:00
Pieter Noordhuis
e127bd9c53
Stop using /dev/null to find out the serialized object length
...
Now the rdbSave* functions return the number of bytes written (or
required to write) in serializing a Redis object, writing to /dev/null
and using ftell (which doesn't work on FreeBSD) isn't needed anymore.
2010-11-21 16:31:27 +01:00
Pieter Noordhuis
47ddeec2dd
Wrapper around fwrite to make API consistent
2010-11-21 16:12:25 +01:00
Pieter Noordhuis
f73971ae53
Return number of bytes written from rdbSave* functions
2010-11-21 16:07:46 +01:00
Tj Holowaychuk
d268e36a27
Added redis-cli interactive help support
...
updated via commands.json in redis-doc repo. Currently
use `make src/help.h` to re-generate. The following
are valid from the REPL:
help
help [command]
help [group]
help groups
ex:
help sort
help hash
2010-11-16 05:50:26 -08:00
antirez
f1d7eea704
added a few more files to gitignore
2010-11-15 15:50:41 +01:00
antirez
dea1672cf3
Fix for bug 374, thanks to Jeremy Zawodny for reporting and tracing why it was crashing.
2010-11-12 20:02:20 +01:00
antirez
eef979cb95
volatile-lru maxmemory policy segfault fixed, thanks to Anthony Lauzon for reporting the problem with the patch. Original patch modified a bit in order to avoid the double lookup if the policy is allkeys-lru
2010-11-11 13:19:17 +01:00
antirez
0c95631468
now redis-cli is able to show the Git SHA1 in the version output
2010-11-08 16:26:02 +01:00
antirez
e2759a75b5
make sure to flush stdout every line read in monitor mode, to play well with redirection to file
2010-11-08 16:14:15 +01:00
antirez
c9d5275fe0
added noeviction policy to redis maxmemory. ZSCORE removed from the list of commands that can't be called when we are low on memory, this command was added in the past for a stupid error.
2010-11-08 16:12:16 +01:00
antirez
9cd35bb884
build redis-server at the end so have a more pleasing to see Make output and the advice to run the test suite at the end.
2010-11-08 13:19:58 +01:00
antirez
57335c3f21
fixed compilation with 32bit target
2010-11-08 12:53:36 +01:00
antirez
2ccb7c9f4f
non blocking loading of the DB / AOF with informations and ETA in INFO output
2010-11-08 11:52:03 +01:00
Pieter Noordhuis
8cf76dfadf
Update hiredis
2010-11-05 17:24:48 +01:00
Pieter Noordhuis
6c35e8dffa
Only cascade clean target to deps
2010-11-05 17:22:16 +01:00
antirez
a34f7bdcb0
version bumped to 2.1.7 after merging with aaslave branch for non blocking slaves
2010-11-05 11:00:20 +01:00
antirez
256d79408b
Merge branch 'aaslave'
2010-11-05 10:59:49 +01:00
antirez
17e642c115
version bumped to 2.1.6
2010-11-05 10:57:53 +01:00
antirez
a564a747cb
Merge remote branch 'pietern/benchmark'
2010-11-05 10:29:59 +01:00
Pieter Noordhuis
9561caf0d9
Use multi-bulk protocol in SET benchmark
2010-11-05 10:22:52 +01:00
antirez
9218b569f0
config option to select if when replication link with master a slave should or not serve stale data
2010-11-04 19:59:21 +01:00
antirez
f88447928c
replication asynchronous SYNC information in INFO output
2010-11-04 18:50:23 +01:00
antirez
e36081f49f
more replication info in logs
2010-11-04 18:14:20 +01:00
antirez
f64a6a60f0
non blocking slave replication is now more non blocking than the first implementation...
2010-11-04 18:09:35 +01:00
antirez
86f411a86b
typos and minor stuff fixed in the new non blocking replication code
2010-11-04 17:35:03 +01:00
antirez
87bd3ca8fd
first attempt to non blocking implementation of slave replication and SYNC bulk data download. Never compiled so far...
2010-11-04 17:29:53 +01:00
Pieter Noordhuis
a4c17a74f5
Microsecond latency resolution in redis-benchmark
2010-11-04 16:15:35 +01:00
Pieter Noordhuis
20c9cc5a20
Use hiredis from redis-benchmark
2010-11-04 13:37:05 +01:00
Pieter Noordhuis
cbc815b1e1
Update hiredis
2010-11-04 13:35:47 +01:00
antirez
e039e0488b
minor test suite bug fixed
2010-11-04 10:48:49 +01:00
Pieter Noordhuis
53ace0d459
Stop using the freelist robj* cache
2010-11-04 10:09:30 +01:00
antirez
6f3a5918ce
top level make clean also clean hiredis and linoise (deps)
2010-11-03 18:14:09 +01:00
Pieter Noordhuis
515a7be01d
Import linenoise as dependency for redis-cli
2010-11-03 17:15:23 +01:00
Pieter Noordhuis
a2f7249e2d
Put duration in parenthesis
2010-11-03 17:07:10 +01:00
Pieter Noordhuis
319455f61f
Add proper numbering for multi bulk replies in redis-cli
2010-11-03 17:03:54 +01:00
Pieter Noordhuis
9ec0c971fb
Use hiredis from redis-cli
2010-11-03 16:09:38 +01:00
Pieter Noordhuis
1931d7e0d3
Add hiredis dependency for redis-cli, redis-benchmark, etc
2010-11-03 16:03:04 +01:00
antirez
137b6886e0
added support for command renaming/suppression in redis.conf
2010-11-03 12:14:36 +01:00
antirez
5d33a8862a
command lookup process turned into a much more flexible and probably faster hash table
2010-11-03 11:23:59 +01:00
antirez
c58bcfd350
Now it is possible to use quoted strings in the redis.conf file accordingly to the sdssplitargs() function capabilities.
2010-11-03 10:31:19 +01:00
antirez
a9c740ac44
Merge remote branch 'pietern/unixsocket'
2010-11-02 23:47:52 +01:00
antirez
0fc2b30872
RSS information in INFO output
2010-11-02 22:47:10 +01:00
antirez
29ea088aaa
Do not update the LRU info on key lookup when we have a saving child. With this trivial change the additional memory used while saving with a background child in presence of many read operations is zero.
2010-11-02 18:59:48 +01:00
antirez
fbd0387665
redis-cli in interactive mode now prints the time elapsed of the operation performed took more than half a second.
2010-11-02 18:08:30 +01:00
antirez
4a19ddb283
Revert "Function to compute RSS memory usage in a fast way, suitable to be called inside keys eviction loops"
...
This reverts commit bc96545c6d805eddc78bc7053910e8f5b9f12aaa.
2010-11-02 12:10:41 +01:00
antirez
dfd6eaf8d1
Revert "Now maxmemory, VM, and everything else uses the fast RSS memory used estimation instead of raw memory reported by zmalloc(). This means that setting maxmemory to 2GB will really have the effect of using up to 2GB of memory."
...
This reverts commit a9d4d3c8599b359e3e35fee47e5447259b469052.
2010-11-02 12:09:59 +01:00
antirez
a9d4d3c859
Now maxmemory, VM, and everything else uses the fast RSS memory used estimation instead of raw memory reported by zmalloc(). This means that setting maxmemory to 2GB will really have the effect of using up to 2GB of memory.
2010-11-02 11:50:55 +01:00
antirez
bc96545c6d
Function to compute RSS memory usage in a fast way, suitable to be called inside keys eviction loops
2010-11-02 11:40:35 +01:00
antirez
82105585b2
removed a number of stupid compilation warnings on Linux
2010-11-02 11:15:09 +01:00