Commit Graph

1832 Commits

Author SHA1 Message Date
de6ba77bc4 Fixed misuse of the new iterator semantics in ZUNIONSTORE 2011-05-15 17:28:22 +02:00
5d64f21792 Fix for a possible bug related to ZINTER/UNIONSTORE called with the same source set more than one time. 2011-05-15 17:23:59 +02:00
86277eee4c Fixed SINTER[STORE] problem related to the new copy on write safe iterator 2011-05-15 12:18:56 +02:00
24430cb820 Fix for DEBUG DIGEST, key may expire on lookup 2011-05-13 11:44:14 +02:00
604d26ffde ZINTERSTORE regressiont test with two sets, intset+hashtable 2011-05-12 20:20:25 +02:00
338e44a6e7 replication with expire test modified to produce no or less false failures 2011-05-12 20:17:07 +02:00
de77addb36 ziplist are now endianess agnostic 2011-05-12 13:26:55 +02:00
9f517b920e removed assert causing an illegal memory access. This was responsible of crashes during BLPOP and other list blocking operations. 2011-05-11 09:50:43 +02:00
d0f710ea09 RDB version signature bumped to 2, now that direct saving of specially encoded types is implemented 2.2 instances are no longer able to read rdb files produced by 2.4 or unstable. 2011-05-10 11:33:29 +02:00
d0d72c19d3 use safe Dict iteration in DEBUG DIGEST 2011-05-10 10:42:20 +02:00
da49700d5a Introduced a safe iterator interface that can be used to iterate while accessing the dictionary at the same time. Now the default interface is consireded unsafe and should be used only with dictNext() 2011-05-10 10:22:14 +02:00
ba07e1f505 Merge branch '2.4' of github.com:antirez/redis into 2.4 2011-05-07 12:10:11 +02:00
8ec9d6ef69 when Redis fails accepting a new connection reports the error at WARNING and not VERBOSE error level. Thanks to offby1 for proposing this in the Redis mailing list. #backport-candidate 2011-05-07 12:09:55 +02:00
deff2338fa Merge remote branch 'pietern/2.4-misc' into 2.4 2011-05-05 16:50:28 +02:00
2ee7dd362c Merge branch '2.4' of github.com:antirez/redis into 2.4 2011-05-05 15:17:31 +02:00
fddd64e610 Fix ziplist regression and update stresser 2011-05-05 15:17:13 +02:00
d275513b04 Merge branch '2.4' of github.com:antirez/redis into 2.4 2011-05-01 15:42:53 +02:00
2618476032 Fixed a problem with string2ll() 2011-05-01 15:40:43 +02:00
c924df8c83 Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the connection with its slaves 2011-04-29 14:18:45 +02:00
01f36192c8 Extra tests for string2ll 2011-04-27 14:38:58 +02:00
6e258c76bf Check seplen and len before malloc'ing "tokens" 2011-04-27 14:33:21 +02:00
355d8cb0b5 Use correct replacement length in sdscatrepr() 2011-04-27 14:31:18 +02:00
f1e072c57d Check for \n after finding \r 2011-04-27 14:29:27 +02:00
a244985d1d Show memory allocator in INFO output 2011-04-27 13:35:49 +02:00
b83a52c6f8 Use string2ll in ziplist code (faster) 2011-04-27 13:30:32 +02:00
20dad91bdf Tests for string2ll; move isObject* to object.c 2011-04-27 13:26:33 +02:00
d548f3daad Move code 2011-04-27 13:16:23 +02:00
992fe21706 Use correct argc/argv for cleanup when loading AOF 2011-04-22 09:42:38 +02:00
2f170ad733 Reformat AOF tests 2011-04-22 09:42:38 +02:00
29a87f23b1 Variadic SREM backported from unstable 2011-04-21 17:31:10 +02:00
0882fe5e43 addReplyLongLong optimized to return shared objects when the value to reply is 0 or 1 2011-04-21 17:15:47 +02:00
7e5cf2660c CLIENT KILL implemented 2011-04-21 17:11:24 +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
bd50301f3e removed check for zmalloc return NULL in createClient(). The check was misplaced, and zmalloc never returns NULL. 2011-04-21 16:44:00 +02:00
760dec3a6c VM/direct-saving fixes 2011-04-20 17:48:46 +02:00
e8852d782d encoding.c/h added, this new functions make sure that even our in memory represenation of encoded types is endianess agnostic, so we can save this stuff directly on disk without problems when reloading on a different arch. 2011-04-20 15:58:36 +02:00
1f84b0648b yet more manual backporting from unstable 2011-04-20 15:57:35 +02:00
73f01b0606 Some manual merging of encoded values direct saving 2011-04-20 15:49:32 +02:00
552a6fb39d fix type id for specially encoded data types, for direct blob saving of intsets, ziplists and zipmaps 2011-04-20 15:41:13 +02:00
5045ff843a direct saving of specially encoded types implemented for lists and sets too 2011-04-20 15:41:13 +02:00
c92283770d added new RDB codes for ziplist encoded lists and intset encodeed sets 2011-04-20 15:41:13 +02:00
44d4b87f1f convert the zipmap into hash in rdb loading if the zipmap has too many elements 2011-04-20 15:41:13 +02:00
cebac46589 API change function name fix 2011-04-20 15:41:13 +02:00
68495c46fe changed names of APIs to get blob len of special encoded data types 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
1c53928fca Functions to get size of specially encoded value in bytes 2011-04-20 15:32:44 +02:00
660a0cdf02 Don't export unused function 2011-04-20 15:32:44 +02:00
01fc59b787 More allocators 2011-04-19 23:54:43 +02:00
ff8187844a Inline sdslen and sdsavail (thanks to @bitbckt) 2011-04-19 23:10:45 +02:00