312 Commits

Author SHA1 Message Date
antirez
4d0e1714f0 unstable merge conflicts resolved 2011-06-25 12:29:24 +02:00
antirez
59f09141f5 diskstore removed 2011-06-25 12:22:03 +02:00
antirez
7192cd5cb7 Fix for bug 561 and other related problems 2011-06-20 17:19:36 +02:00
antirez
0b00199553 DB API refactoring. The changes were designed together with Pieter Noordhuis. 2011-06-20 16:42:16 +02:00
antirez
c91c904e1c new INFO filed master_link_down_since_seconds 2011-06-17 16:16:46 +02:00
antirez
11f9b77981 Updated to unstable 2011-06-14 18:06:39 +02:00
antirez
0798b88e34 automatic AOF rewrite first implementation. Still to be tested. 2011-06-10 12:39:23 +02:00
Pieter Noordhuis
567194bf5d Make replication faster (biggest gain for small number of slaves) 2011-05-30 12:45:07 +02:00
antirez
00b2ab2c8d 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-05-29 15:17:29 +02:00
antirez
6e6b7fcc10 All commands exported by Redis to Lua scripts are now inside the redis table. Implemented redis.log() function. 2011-05-25 12:32:50 +02:00
antirez
a044ec4e39 EVALSHA implemented 2011-05-25 12:32:49 +02:00
antirez
6f6559e47e Lua scripts max execution time 2011-05-25 12:32:48 +02:00
antirez
2039ac2211 Correctly glue the reply buffer. For now returned as it is to Lua, but will be converted into Lua native type later. 2011-05-25 12:32:44 +02:00
antirez
09e9cb316e Lua call of Redis command work in progress: sorry I have to go to the cinema to watch the Source Code movie 2011-05-25 12:32:44 +02:00
antirez
3dd67db52c Lua function creation on EVAL, basic Lua return type to Redis protocol convertion done. 2011-05-25 12:32:43 +02:00
Pieter Noordhuis
5bd18cc33e Configurable synchronous I/O timeout 2011-05-22 12:58:18 +02:00
Pieter Noordhuis
fedabe3991 Minor changes in non-blocking repl. connect 2011-05-22 12:51:09 +02:00
Pieter Noordhuis
6ecfff06a8 Non-blocking connect with master 2011-05-19 18:54:57 +02:00
Pieter Noordhuis
a67b0922d7 Use rio.h functions in aof.c 2011-05-14 12:36:22 +02:00
Pieter Noordhuis
78feade83d Move rdbLoad* to top; update comments 2011-05-13 23:24:19 +02:00
Pieter Noordhuis
43b1feb2f0 Make RDB types/opcodes explicit; load/save object type 2011-05-13 22:14:39 +02:00
Pieter Noordhuis
ce9195ad16 Abstract file/buffer I/O to support in-memory serialization 2011-05-13 17:31:00 +02:00
Pieter Noordhuis
6ba75861f8 Tests for string2ll; move isObject* to object.c 2011-05-05 16:26:50 +02:00
antirez
7583202453 cluster import/export of hash slots implemented in the query redirection engine 2011-05-05 11:13:21 +02:00
antirez
135dcfc42c CLUSTER GETKEYSINSLOT implemented 2011-04-29 16:17:58 +02:00
antirez
086fac186f take a hashslot -> keys index, will be used for cluster rehasing 2011-04-28 19:00:33 +02:00
antirez
8a3ff7cff3 CLIENT LIST implemented 2011-04-21 15:38:02 +02:00
antirez
d021704533 save peak memory usage as statistic and show it in INFO. Also a new INFO field was added showing the fragmentation ratio using the peak memory info. 2011-04-21 10:49:52 +02:00
antirez
8e52ae3a8c Merge remote branch 'pietern/unstable-zset' into unstable 2011-04-14 13:31:14 +02:00
antirez
72fae7e18f ASCII ART FTW 2011-04-13 10:58:21 +02:00
Pieter Noordhuis
b254ad427c Merge branch 'unstable' into unstable-zset
Conflicts:
	src/object.c
2011-04-06 16:15:01 +02:00
antirez
224dd8bfa7 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:36:10 +02:00
antirez
c32a744276 OBJECT command implemented 2011-04-06 12:19:45 +02:00
antirez
da14691f5f DUMP implemented, RESTORE and MIGRATE fixed. Use zcalloc() instead of zmalloc()+memset() in sds.c when a new string is created with NULL initialization pointer. 2011-04-01 18:59:28 +02:00
antirez
455f2e90bc centralized cluster config file name. Assigned slots in CLUSTER NODES output and in cluster config file. 2011-03-30 17:41:13 +02:00
antirez
b2b9d54320 Cluster branch merged to unstable. 2011-03-29 17:51:15 +02:00
antirez
db608dd7e3 new preloading implemented, still EXEC not handled correctly, everything to test 2011-03-23 18:09:17 +01:00
Pieter Noordhuis
3746a4135a Fix DEBUG DIGEST, SORT and AOF rewrite 2011-03-14 13:30:06 +01:00
Pieter Noordhuis
8781386c7a Make zzl API unaware of the robj where the ziplist is stored 2011-03-11 17:06:07 +01:00
Pieter Noordhuis
940daef2c4 Encode sorted set after loading from dump 2011-03-10 17:50:13 +01:00
Pieter Noordhuis
61537f5f5d Add new string to long long function 2011-03-10 16:16:27 +01:00
Pieter Noordhuis
4644c21792 Configurable thresholds for encoded sorted sets 2011-03-09 14:01:57 +01:00
Pieter Noordhuis
855bf7b0f8 Persistence code for encoded sorted sets 2011-03-09 13:16:38 +01:00
Pieter Noordhuis
89e62535ca Add function to create ziplist-backed sorted set 2011-03-08 16:08:52 +01:00
Pieter Noordhuis
dade20df05 Fast conversion of double when representable as long long 2011-03-08 16:08:11 +01:00
Pieter Noordhuis
b1360a13ca Save RDB on SIGTERM (see issue #471) 2011-03-06 17:49:40 +01:00
antirez
6bd24302f8 added new RDB codes for ziplist encoded lists and intset encodeed sets 2011-02-28 17:06:31 +01:00
antirez
102474012d save zipmap encoded hashes as blobs. Work in progress. 2011-02-28 09:56:48 +01:00
antirez
e422aa37cd less delays in diskstore when there are many writes. more work to do. 2011-02-25 19:11:25 +01:00
antirez
fd16bf40d9 fixed two diskstore issues, a quasi-deadlock creating problems with I/O speed and a race condition among threads 2011-02-11 11:16:15 +01:00