450 Commits

Author SHA1 Message Date
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
antirez
d136157383 INFO commandstats section reset with config resetstat, a new microseconds per call field, and a few other minor things 2011-01-24 10:56:06 +01:00
antirez
9064ae9eac Now INFO outputs the "INFO default" output if no argument is passed. Also added counts of calls for every command, thanks to an idea by Mike Shaver 2011-01-23 22:14:15 +01:00
antirez
daf98fde2f profiling information in INFO 2011-01-23 11:46:34 +01:00
Pieter Noordhuis
418603038c Remove client from list of unblocked clients when it is free'd 2011-01-17 10:04:13 +01:00
antirez
489ccb00d1 lame typo causing bad hashes memory characteristic 2011-01-15 22:24:22 +01:00
antirez
5286447c24 implemented two new INFO fields showing the size of clients max input and output buffers. 2011-01-14 10:20:02 +01:00
antirez
80a55ea680 redisServer structure fields reordered for clarity 2011-01-14 00:19:19 +01:00
antirez
c378cabde7 blocking SAVE implemented 2011-01-08 00:09:57 +01:00
antirez
d9b79fb3ef diskstore BGSAVE should work now 2011-01-07 23:41:00 +01:00
antirez
85fa300825 more work towards diskstore bgsave 2011-01-07 19:31:42 +01:00
antirez
e6fdae80f8 source reshaped a bit to play well with a bgsaving thread, still work to do, does not compile. 2011-01-07 18:15:14 +01:00
antirez
9f986a15ff BGSAVE work in progress 2011-01-05 18:38:31 +01:00