Commit Graph

  • 6825491928 Fix assertion function on value encoding Pieter Noordhuis 2010-08-01 11:20:26 +02:00
  • 0c7a9dec65 Merge remote branch 'pietern/list-test' antirez 2010-07-31 13:55:06 +02:00
  • 673e1fb7e4 Change getDoubleFromObject to fail on NaN. Pieter Noordhuis 2010-07-29 22:13:31 +02:00
  • d9e28bcf00 Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score. Pieter Noordhuis 2010-07-29 21:31:58 +02:00
  • 715c801a07 Use a large value to consistently trigger a list encoding, even when the list is swapped out and in again. Pieter Noordhuis 2010-07-29 13:53:52 +02:00
  • 86d392498b ensure the value is swapped in before testing its encoding Pieter Noordhuis 2010-07-29 13:31:24 +02:00
  • cbf7e1070a fix of the fix for the replication bug antirez 2010-07-28 18:56:52 +02:00
  • 8c1420ff2a Fixed a replication bug in ZINTERSTORE. antirez 2010-07-28 18:42:02 +02:00
  • a0573260b0 better random dataset creation function in test. master-slave replication test now is able to save the two datasets in CSV when an inconsistency is detected. antirez 2010-07-28 14:08:46 +02:00
  • 6171250871 fixed a ziplist bug about encoding of integer values overflowing 64 bit antirez 2010-07-27 15:26:08 +02:00
  • db0c43a70c removed test code having bad effects... antirez 2010-07-27 14:46:39 +02:00
  • dd3f505ff5 Consistency test improved antirez 2010-07-27 14:42:11 +02:00
  • f99e660b44 malloc definition with deprecated attribute was duplicated, one removed antirez 2010-07-27 14:30:02 +02:00
  • 80091bbaac STRLEN command implemented antirez 2010-07-27 10:09:26 +02:00
  • e0be2289e9 hash table example commented out in dict.c antirez 2010-07-27 10:00:38 +02:00
  • b3aa6d712e use the function deprecated attribute if compiling with GCC to get warnings for malloc/free usages. We always want to use our zmalloc/zfree versions for memory usage tracking antirez 2010-07-27 09:36:42 +02:00
  • 399f2f401c Add zcalloc and use it where appropriate Benjamin Kramer 2010-07-24 23:20:00 +02:00
  • d9dd352b36 Remove _dictAlloc and friends Benjamin Kramer 2010-07-24 23:10:42 +02:00
  • b1e0bd4b9b Reduce code duplication Benjamin Kramer 2010-07-24 22:37:01 +02:00
  • e39c8b5047 exit with non-zero status when there are failed tests Pieter Noordhuis 2010-07-23 13:08:35 +02:00
  • 230729617d don't open/close log file if log level is not matched antirez 2010-07-22 23:31:40 +02:00
  • c8a10631d1 fix rare condition where 'key' would already be destroyed while is was needed later on Pieter Noordhuis 2010-07-22 16:06:27 +02:00
  • 2f996f0217 defensive programming: set o->ptr to NULL before freeing objects antirez 2010-07-22 15:48:57 +02:00
  • e002ec6801 other shared objects where created in the I/O thread in createStringObjectFromLongLong. Fixed as well. antirez 2010-07-22 14:48:45 +02:00
  • cdbea20afb minor typo fixed in a comment antirez 2010-07-22 13:12:24 +02:00
  • 0e5441d816 don't use object sharing inside I/O threads, as a fix for a well known instability of VM introduced with the new object sharing code antirez 2010-07-22 13:08:02 +02:00
  • 1a71fb9669 vm_blocked_clients count fixed in INFO, thanks to Pietern Noordhuis antirez 2010-07-21 13:16:26 +02:00
  • 2cffe2993b TODO list modified, trivial change to source code antirez 2010-07-16 23:56:18 +02:00
  • 5b4bff9c17 WATCH is now affected only when write commands actually modify the key content antirez 2010-07-12 12:01:15 +02:00
  • e51a74aa40 fmacro included in linenoise.c antirez 2010-07-09 10:51:41 +02:00
  • 99628c1af8 redis-cli history saved across sessions antirez 2010-07-07 18:44:53 +02:00
  • 185cabda45 redis-cli is now able to report version information using -v antirez 2010-07-06 19:17:09 +02:00
  • 443d1e9efe Make install fixed using a dummy taget antirez 2010-07-06 19:10:20 +02:00
  • acc0185493 make install target, finally ;) antirez 2010-07-06 19:07:16 +02:00
  • f26dde8ca9 top level Makefile added, so you do not need to cd src antirez 2010-07-06 18:54:54 +02:00
  • b056ca39f2 improved random dataset creation in test: del, sunionstore, zunionstore antirez 2010-07-06 18:30:38 +02:00
  • 8b654e54c4 First implementation of a replication consistency test antirez 2010-07-06 17:24:00 +02:00
  • d0a4e24e32 merged code from 184d74ab, 4774a53b, f483ce5f to new file structure Pieter Noordhuis 2010-07-05 15:16:33 -04:00
  • 70a214c46d INSTALL file added BETATESTING.txt removed antirez 2010-07-05 20:37:20 +02:00
  • d06a5b23c8 Fixed compilation on *BSD systems antirez 2010-07-05 20:14:48 +02:00
  • b67d234563 Fixed a crash loading the AOF file containing MULTI/EXEC, a result of WATCH implementation. Test needed... antirez 2010-07-05 20:06:54 +02:00
  • b7a8daef60 WATCH will now consider touched keys target of EXPIRE command after the WATCH is performed, but not before antirez 2010-07-05 19:38:12 +02:00
  • 2767f1c0c6 fix aof and digest code to work with dual set encoding Pieter Noordhuis 2010-07-02 20:42:20 +02:00
  • 96ffb2fe97 merged intset code into the split files Pieter Noordhuis 2010-07-02 19:57:12 +02:00
  • 3688d7f308 Compilation fixed on Linux after the source code split antirez 2010-07-01 21:13:38 +02:00
  • d3b958c3fc Fixed MONITOR output for consistency: now integer encoded values are also formatted like this: "3932" antirez 2010-07-01 20:22:46 +02:00
  • 5bd09cd4c5 Fix the AOF fix of the latest commit ;) antirez 2010-07-01 20:18:48 +02:00
  • daf2049d0d fixed error code checking for *write operations and return value in AOF rewriting function antirez 2010-07-01 20:13:33 +02:00
  • af4e866dbb Merged with split antirez 2010-07-01 16:55:12 +02:00
  • 0f49d6b049 minor aesthetic change antirez 2010-07-01 15:14:25 +02:00
  • bb8716b6dc TODO updated antirez 2010-07-01 14:52:01 +02:00
  • 2c24c22039 Version is now 2.1.2 antirez 2010-07-01 14:47:26 +02:00
  • 24110a4d7d Make log target fixed antirez 2010-07-01 14:45:37 +02:00
  • fb829ec6a2 gitignore modified antirez 2010-07-01 14:41:03 +02:00
  • e2641e09cc redis.c split into many different C files. antirez 2010-06-22 00:07:48 +02:00
  • b8b8501d70 Merge remote branch 'pietern/zfixes' antirez 2010-06-25 00:23:38 +02:00
  • f483ce5ffe fix unexpected behavior on an out of range end index for LRANGE and LTRIM Pieter Noordhuis 2010-06-24 15:12:42 -07:00
  • c2ff0e90b8 more pub/sub tests Pieter Noordhuis 2010-06-16 11:03:23 +02:00
  • 4589a823fd initial basic pub/sub tests Pieter Noordhuis 2010-06-15 22:40:21 +02:00
  • 676740a960 fix BLPOP/BRPOP to use the wrapped function for list length Pieter Noordhuis 2010-06-15 21:16:56 +02:00
  • 5eedc9c65e tests for BLPOP/BRPOP via an option in the tcl client that defers reading the reply Pieter Noordhuis 2010-06-15 21:16:27 +02:00
  • 4774a53b24 fix behavior for out-of-range negative end index on ZREMRANGEBYRANK Pieter Noordhuis 2010-06-15 16:21:42 +02:00
  • 184d74abc6 more tests for zrange and zrevrange; fix behavior for out-of-range negative end index Pieter Noordhuis 2010-06-15 15:40:28 +02:00
  • d5096a28d7 TODO updated antirez 2010-06-14 17:59:03 +02:00
  • d52e588869 Merge branch 'ltrim-tests' of git://github.com/pietern/redis antirez 2010-06-14 10:22:38 +02:00
  • 7e79de541a rename "list" to "linkedlist" to be more verbose Pieter Noordhuis 2010-06-14 10:21:23 +02:00
  • 7d04fc7563 allow running the test suite against an external Redis instance, without auto spawning antirez 2010-06-14 10:19:45 +02:00
  • 08b5920750 change ltrim tests to cover all min/max cases and add stronger stresser Pieter Noordhuis 2010-06-14 09:45:34 +02:00
  • 3042fb0537 Fixed deps in makefile and mkreleasehdr.sh script to really take advantage of the new trick to avoid recompilation of redis.c on git sha1 or dirty status change antirez 2010-06-13 23:51:43 +02:00
  • 7c4fc71c15 hopefully faster recompiling with a trick antirez 2010-06-13 23:45:14 +02:00
  • 400aea2b13 expand the dictionary of the target set to the right size when converting from intset Pieter Noordhuis 2010-06-13 21:52:07 +02:00
  • 273f616930 make sure sets have the right encoding when loaded from rdb Pieter Noordhuis 2010-06-13 21:42:04 +02:00
  • ab37269c38 use max number of intset entries in tests and make SUNION/SINTER/SDIFF tests use less entries Pieter Noordhuis 2010-06-13 21:23:43 +02:00
  • bb039e853d fixed a bug in rdbLoadObject abount specially encoded objects antirez 2010-06-13 21:09:51 +02:00
  • 70ff3511bc configure maximum number of entries in an intset Pieter Noordhuis 2010-06-13 15:21:25 +02:00
  • a8dca69bb3 use raw strings when loading a hash from the rdb into a zipmap Pieter Noordhuis 2010-06-13 15:07:53 +02:00
  • b978abbf02 small refactor of SMOVE and tests for SMOVE on sets with different encoding Pieter Noordhuis 2010-06-13 11:16:18 +02:00
  • d0b58d5300 intset encoding for sets, refactored set tests to test both encodings Pieter Noordhuis 2010-06-12 22:25:22 +02:00
  • f6475c7250 Merge branch 'expire' of git://github.com/pietern/redis antirez 2010-06-12 16:26:04 +02:00
  • ac9b8cfe57 Merge branch 'lists' of git://github.com/pietern/redis antirez 2010-06-11 20:27:56 +02:00
  • e24d93762f intset housekeeping Pieter Noordhuis 2010-06-11 19:22:27 +02:00
  • 35cabcb505 wrapper functions for the set type to support multiple encodings Pieter Noordhuis 2010-06-11 18:35:57 +02:00
  • 7d288d6547 LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting for a push Pieter Noordhuis 2010-06-11 17:35:48 +02:00
  • 23d3a5feef make LINSERT return -1 when the value could not be inserted Pieter Noordhuis 2010-06-11 17:34:23 +02:00
  • 3ab98cef4e move logic for obvious corner cases to intsetSearch Pieter Noordhuis 2010-06-03 22:21:39 +02:00
  • 144b0094c3 initial implementation for the intset Pieter Noordhuis 2010-06-03 16:06:18 +02:00
  • 70b4b320ae check if the list encoding needs to be changed on LPUSHX, RPUSHX, LINSERT Pieter Noordhuis 2010-06-11 14:51:59 +02:00
  • 244b873b0c make sure the value to insert is string encoded Pieter Noordhuis 2010-06-11 13:27:21 +02:00
  • bcfb387694 rename vars, move arguments, add comments Pieter Noordhuis 2010-06-11 13:06:03 +02:00
  • 1240552da9 always iterate from head to tail on LINSERT Pieter Noordhuis 2010-06-11 12:03:15 +02:00
  • 279d7e67cf use REDIS_TAIL to insert AFTER an entry and REDIS_HEAD to insert BEFORE an entry Pieter Noordhuis 2010-06-11 11:53:16 +02:00
  • 0e1684bcd0 move listTypeInsert to be grouped with other wrapper functions Pieter Noordhuis 2010-06-11 10:52:09 +02:00
  • dedff272f6 squashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX Robey Pointer 2010-06-11 10:08:59 +02:00
  • 306974f5d7 remove pop function and the sds dependency; can be implemented using get+delete Pieter Noordhuis 2010-06-09 11:36:58 +02:00
  • 4e16d8b312 compute swappability for ziplist encoded lists Pieter Noordhuis 2010-06-07 21:53:21 +02:00
  • 829137b9a0 reuse the sds from the main dictionary in the expiration dictionary Pieter Noordhuis 2010-06-07 20:44:12 +02:00
  • 056c19c6f2 TODO updated antirez 2010-06-07 18:30:18 +02:00
  • b785b2bf66 encode integers while loading an hash antirez 2010-06-07 18:07:46 +02:00
  • 65cc766581 Merge branch 'lists' of git://github.com/pietern/redis antirez 2010-06-05 11:18:58 +02:00
  • cd627d4e78 fixed two leaks for the dual encoded lists Pieter Noordhuis 2010-06-05 11:16:50 +02:00