Commit Graph

119 Commits

Author SHA1 Message Date
79b9ec53d1 fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation. 2011-09-19 17:43:56 +02:00
4c2d5f0980 postpone the AOF fsync if policy is everysec and there is a background fsync already going. 2011-09-19 17:43:49 +02:00
3a4afb0473 Manual merge after cherry-pick 2011-07-12 10:03:22 +02:00
63aed54a27 Take a pointer to the relevant entry of the command table in the client structure. This is generally a more sounding design, simplifies a few functions prototype, and as a side effect fixes a bug related to the conversion of EXPIRE -1 to DEL: before of this fix Redis tried to convert it into an EXPIREAT in the AOF code, regardless of our rewrite of the command. 2011-07-12 10:00:12 +02:00
19453556d4 dataspace change hook functions backported to 2.4. They are just wrappers at this point but this makes simpler to cherry-pick between branches. 2011-07-12 09:56:41 +02:00
30b345ddbb more slow log merge, I forgot to resolve a conflict. 2011-07-02 00:27:10 +02:00
99509ab257 slow log merged into 2.4 2011-07-02 00:24:11 +02:00
5d5fe340e0 new INFO filed master_link_down_since_seconds 2011-06-17 16:13:22 +02:00
307868e149 DB API refactoring. The changes were designed together with Pieter Noordhuis. 2011-06-14 16:59:45 +02:00
61751a4dc4 AOF auto rewrite backported to 2.4 2011-06-10 18:31:27 +02:00
27c8f84c66 INFO now contains the time (in usecs) needed to fork() in order to persist. The info is available in the stats section of INFO. 2011-06-08 23:20:11 +02:00
4f8cf6a23c use the new rewriteClientCommandVector() function for SPOP -> SREM replication translation as well. 2011-05-31 12:15:55 +02:00
afc151d3ba Make replication faster (biggest gain for small number of slaves) 2011-05-29 17:55:13 -07:00
ecfc0583da Configurable synchronous I/O timeout 2011-05-22 12:57:56 +02:00
ff8d85885e Minor changes in non-blocking repl. connect 2011-05-22 12:48:10 +02:00
78c05caf5e Non-blocking connect with master 2011-05-19 18:53:31 +02:00
deff2338fa Merge remote branch 'pietern/2.4-misc' into 2.4 2011-05-05 16:50:28 +02:00
20dad91bdf Tests for string2ll; move isObject* to object.c 2011-04-27 13:26:33 +02:00
91867a5ea2 CLIENT LIST implemented 2011-04-21 17:09:46 +02:00
1c30cad1ab peak mem in INFO backported from unstable branch 2011-04-21 16:55:27 +02:00
760dec3a6c VM/direct-saving fixes 2011-04-20 17:48:46 +02:00
1f84b0648b yet more manual backporting from unstable 2011-04-20 15:57:35 +02:00
c92283770d added new RDB codes for ziplist encoded lists and intset encodeed sets 2011-04-20 15:41:13 +02:00
3dffb8e21e save zipmap encoded hashes as blobs. Work in progress. 2011-04-20 15:41:13 +02:00
dfeb899b2d Merge branch '2.2' into 2.2-zset
Conflicts:
	src/object.c
2011-04-06 15:46:33 +02:00
93db956e06 make sure that OBJECT ENCODING returns skiplist for sorted sets, and not raw, so that once we will merge specially encoded sorted sets everything will make sense. 2011-04-06 15:38:08 +02:00
cf6c3f4b04 OBJECT command implemented 2011-04-06 12:22:09 +02:00
7f9c973467 Fix DEBUG DIGEST, SORT and AOF rewrite 2011-03-22 16:09:22 +01:00
ccf96e197b Make zzl API unaware of the robj where the ziplist is stored 2011-03-22 16:09:21 +01:00
8f0a41be98 Encode sorted set after loading from dump 2011-03-22 16:09:21 +01:00
08532b1e99 Add new string to long long function 2011-03-22 16:08:03 +01:00
eab8382d18 Configurable thresholds for encoded sorted sets 2011-03-22 16:08:03 +01:00
3164869d78 Add function to create ziplist-backed sorted set 2011-03-22 16:03:23 +01:00
b38c299886 Fast conversion of double when representable as long long 2011-03-22 16:03:23 +01:00
2d2c17b075 Save RDB on SIGTERM (see issue #471) 2011-03-06 17:49:22 +01:00
e18b59ae7e Remove client from list of unblocked clients when it is free'd 2011-01-17 10:03:21 +01:00
f43502fb0e lame typo causing bad hashes memory characteristic 2011-01-15 22:24:48 +01:00
ebb07fb4bb implemented two new INFO fields showing the size of clients max input and output buffers. 2011-01-14 10:20:35 +01:00
90419b5681 Remove glueoutputbuf option and broken code 2011-01-05 10:37:23 +01:00
dd889d884f removed some dead code, added evicted keys counter separated from expired keys. 2010-12-19 15:15:33 +01:00
6a246b1e7e special encoding limits redefined, and all the config options for special encodings added in the example redis.conf file 2010-12-14 18:23:52 +01:00
cc7c4158bc Merge remote branch 'jonahharris/syslog' 2010-12-14 17:53:28 +01:00
603e616bf4 Merge branch 'master' of github.com:antirez/redis 2010-12-14 17:42:46 +01:00
57997664ea Merge remote branch 'pietern/strrange' 2010-12-14 17:42:01 +01:00
f858c11d7d Merge remote branch 'pietern/brpoplpush' 2010-12-14 16:26:37 +01:00
ef11bcccca Refactor and rename SUBSTR to GETRANGE
SUBSTR is renamed to GETRANGE to have better consistency between command
names (with SETRANGE as its dual). GETRANGE is still aliased as SUBSTR.
2010-12-14 15:16:29 +01:00
9f9e1ceaa0 Add SETRANGE command implementation and tests 2010-12-14 14:20:51 +01:00
8c304be359 cow friendly HGETALL and variants 2010-12-14 12:10:51 +01:00
dd48de748c fixed compilation on Linux 2010-12-10 15:47:01 +01:00
3d24304ff9 HGET HMGET are now COW friendly, plus API refactoring and changes needed for the new implementation. 2010-12-10 15:17:55 +01:00