Pieter Noordhuis
9a68cf91f0
Wrapper around fwrite to make API consistent
2010-11-21 16:12:25 +01:00
Pieter Noordhuis
8a623a98c3
Return number of bytes written from rdbSave* functions
2010-11-21 16:07:46 +01:00
Tj Holowaychuk
5397f2b596
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
c086b85afb
added a few more files to gitignore
2010-11-15 15:50:41 +01:00
antirez
9fd01051bf
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
0c2f75c6d8
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
11fd0c422b
now redis-cli is able to show the Git SHA1 in the version output
2010-11-08 16:26:02 +01:00
antirez
d9d8ccab93
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
5402c4262e
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
240f8dbf3f
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
be98a33b51
fixed compilation with 32bit target
2010-11-08 12:53:36 +01:00
antirez
97e7f8aec3
non blocking loading of the DB / AOF with informations and ETA in INFO output
2010-11-08 11:52:03 +01:00
Pieter Noordhuis
57c9babd81
Update hiredis
2010-11-05 17:24:48 +01:00
Pieter Noordhuis
abc3ff4d90
Only cascade clean target to deps
2010-11-05 17:22:16 +01:00
antirez
645e9962cb
version bumped to 2.1.7 after merging with aaslave branch for non blocking slaves
2010-11-05 11:00:20 +01:00
antirez
3b5e72d402
Merge branch 'aaslave'
2010-11-05 10:59:49 +01:00
antirez
ecc72ca17f
version bumped to 2.1.6
2010-11-05 10:57:53 +01:00
antirez
56fce7ce7d
Merge remote branch 'pietern/benchmark'
2010-11-05 10:29:59 +01:00
Pieter Noordhuis
feecb608ed
Use multi-bulk protocol in SET benchmark
2010-11-05 10:22:52 +01:00
antirez
4ebfc45528
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
12ebe2ac17
replication asynchronous SYNC information in INFO output
2010-11-04 18:50:23 +01:00
antirez
f6433915fe
more replication info in logs
2010-11-04 18:14:20 +01:00
antirez
26b3366993
non blocking slave replication is now more non blocking than the first implementation...
2010-11-04 18:09:35 +01:00
antirez
62ec599c36
typos and minor stuff fixed in the new non blocking replication code
2010-11-04 17:35:03 +01:00
antirez
f4aa600b99
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
8146e31677
Microsecond latency resolution in redis-benchmark
2010-11-04 16:15:35 +01:00
Pieter Noordhuis
ec8f06675a
Use hiredis from redis-benchmark
2010-11-04 13:37:05 +01:00
Pieter Noordhuis
afc156c2d8
Update hiredis
2010-11-04 13:35:47 +01:00
antirez
4d7e125519
minor test suite bug fixed
2010-11-04 10:48:49 +01:00
Pieter Noordhuis
a9b18e54d4
Stop using the freelist robj* cache
2010-11-04 10:09:30 +01:00
antirez
8df3dcada5
top level make clean also clean hiredis and linoise (deps)
2010-11-03 18:14:09 +01:00
Pieter Noordhuis
e902b579b4
Import linenoise as dependency for redis-cli
2010-11-03 17:15:23 +01:00
Pieter Noordhuis
339b9dc2d2
Put duration in parenthesis
2010-11-03 17:07:10 +01:00
Pieter Noordhuis
cfcd5d6d43
Add proper numbering for multi bulk replies in redis-cli
2010-11-03 17:03:54 +01:00
Pieter Noordhuis
7fc4ce13ed
Use hiredis from redis-cli
2010-11-03 16:09:38 +01:00
Pieter Noordhuis
24f753a8b9
Add hiredis dependency for redis-cli, redis-benchmark, etc
2010-11-03 16:03:04 +01:00
antirez
8d3e063a0a
added support for command renaming/suppression in redis.conf
2010-11-03 12:14:36 +01:00
antirez
1b1f47c915
command lookup process turned into a much more flexible and probably faster hash table
2010-11-03 11:23:59 +01:00
antirez
297e77c6ab
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
0a546fc017
Merge remote branch 'pietern/unixsocket'
2010-11-02 23:47:52 +01:00
antirez
539fb43820
RSS information in INFO output
2010-11-02 22:47:10 +01:00
antirez
7d0966a6b7
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
3ce014c766
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
b5b22da8e6
Revert "Function to compute RSS memory usage in a fast way, suitable to be called inside keys eviction loops"
...
This reverts commit 7d47ecd543
.
2010-11-02 12:10:41 +01:00
antirez
ca734d17ad
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 a3e60027e7
.
2010-11-02 12:09:59 +01:00
antirez
a3e60027e7
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
7d47ecd543
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
10c12171cc
removed a number of stupid compilation warnings on Linux
2010-11-02 11:15:09 +01:00
antirez
92e282288f
zmalloc functions to get RSS and fragmentation refactored into two separated functions
2010-11-02 10:51:09 +01:00
antirez
21dbc6499a
merge conflict resolved
2010-10-28 22:59:47 +02:00