Pieter Noordhuis [Wed, 6 Apr 2011 14:38:29 +0000 (16:38 +0200)]
Update target encoding for sorted set from rdb
Pieter Noordhuis [Wed, 6 Apr 2011 14:17:07 +0000 (16:17 +0200)]
Test for ENCODING_SKIPLIST instead of ENCODING_RAW
Pieter Noordhuis [Wed, 6 Apr 2011 14:15:15 +0000 (16:15 +0200)]
Typo
Pieter Noordhuis [Wed, 6 Apr 2011 14:15:01 +0000 (16:15 +0200)]
Merge branch 'unstable' into unstable-zset
Conflicts:
src/object.c
antirez [Wed, 6 Apr 2011 13:36:10 +0000 (15:36 +0200)]
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.
antirez [Wed, 6 Apr 2011 10:19:45 +0000 (12:19 +0200)]
OBJECT command implemented
antirez [Tue, 5 Apr 2011 11:57:28 +0000 (13:57 +0200)]
bad data on RESTORE can no longer crash the server but create a memory leak with some input string
antirez [Fri, 1 Apr 2011 17:00:21 +0000 (19:00 +0200)]
Merge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Fri, 1 Apr 2011 16:59:28 +0000 (18:59 +0200)]
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.
antirez [Thu, 31 Mar 2011 17:52:15 +0000 (19:52 +0200)]
fixed memory leak introduced with the previous commit. Many thanks to Pieter Noordhuis for spotting it in no time
antirez [Thu, 31 Mar 2011 14:44:43 +0000 (16:44 +0200)]
Fixed issue #503. MONITOR + QUIT could crash the server, there are actually other interactions that could have the same effect (for instance Pub/Sub).
antirez [Wed, 30 Mar 2011 16:12:51 +0000 (18:12 +0200)]
minor change with no actual effects til the loading node config code is in place
antirez [Wed, 30 Mar 2011 15:41:13 +0000 (17:41 +0200)]
centralized cluster config file name. Assigned slots in CLUSTER NODES output and in cluster config file.
antirez [Wed, 30 Mar 2011 14:51:28 +0000 (16:51 +0200)]
fix to configuration saving on first start
antirez [Wed, 30 Mar 2011 12:58:19 +0000 (14:58 +0200)]
cluster configuration saving
antirez [Tue, 29 Mar 2011 16:02:34 +0000 (18:02 +0200)]
todo list for a first cluster howto guide for early testers
antirez [Tue, 29 Mar 2011 15:52:02 +0000 (17:52 +0200)]
CLUSTER file updated with warning
antirez [Tue, 29 Mar 2011 15:51:15 +0000 (17:51 +0200)]
Cluster branch merged to unstable.
antirez [Tue, 29 Mar 2011 09:04:55 +0000 (11:04 +0200)]
TODO modified
antirez [Tue, 29 Mar 2011 08:54:38 +0000 (10:54 +0200)]
Merge remote branch 'origin/getkeys' into unstable
antirez [Mon, 28 Mar 2011 17:03:57 +0000 (19:03 +0200)]
Preloading messages log level changed from WARNING to DEBUG
antirez [Mon, 28 Mar 2011 16:46:22 +0000 (18:46 +0200)]
fixed a bug in RENAME getKeys() function
antirez [Mon, 28 Mar 2011 16:21:06 +0000 (18:21 +0200)]
bug fixed in zunionstore specific getKeys() implementation
antirez [Mon, 28 Mar 2011 15:54:42 +0000 (17:54 +0200)]
Fixes to the new preloading / key discovery APIs
antirez [Mon, 28 Mar 2011 15:29:26 +0000 (17:29 +0200)]
implemented preload of EXEC using the new getKeys() system
antirez [Wed, 23 Mar 2011 22:13:15 +0000 (23:13 +0100)]
minor style change
antirez [Wed, 23 Mar 2011 17:09:17 +0000 (18:09 +0100)]
new preloading implemented, still EXEC not handled correctly, everything to test
antirez [Tue, 22 Mar 2011 21:49:12 +0000 (22:49 +0100)]
Fixed sdssplitargs() handling of hex-style escapes.
antirez [Tue, 22 Mar 2011 18:35:42 +0000 (19:35 +0100)]
command table altered for the new API to get position of keys arguments in commands
Pieter Noordhuis [Tue, 22 Mar 2011 08:28:40 +0000 (09:28 +0100)]
Test that sorted sets are removed when empty
Pieter Noordhuis [Mon, 21 Mar 2011 22:54:35 +0000 (23:54 +0100)]
Remove sorted set when empty after ZREMRANGEBY*
antirez [Sun, 20 Mar 2011 17:24:49 +0000 (18:24 +0100)]
sdscatrepr() fixed. Now newlines and other special chars are escaped correctly
antirez [Tue, 15 Mar 2011 09:47:04 +0000 (10:47 +0100)]
gitignore updated
Pieter Noordhuis [Mon, 14 Mar 2011 12:30:06 +0000 (13:30 +0100)]
Fix DEBUG DIGEST, SORT and AOF rewrite
Pieter Noordhuis [Mon, 14 Mar 2011 09:50:35 +0000 (10:50 +0100)]
Test both sorted set encodings for every test
Pieter Noordhuis [Sun, 13 Mar 2011 17:15:57 +0000 (18:15 +0100)]
Offset should be size_t
Pieter Noordhuis [Sat, 12 Mar 2011 13:48:29 +0000 (14:48 +0100)]
Remove unused function
Pieter Noordhuis [Fri, 11 Mar 2011 17:17:53 +0000 (18:17 +0100)]
Test for empty inner range when looking for elements in range
Pieter Noordhuis [Fri, 11 Mar 2011 16:06:07 +0000 (17:06 +0100)]
Make zzl API unaware of the robj where the ziplist is stored
Pieter Noordhuis [Thu, 10 Mar 2011 16:50:13 +0000 (17:50 +0100)]
Encode sorted set after loading from dump
Pieter Noordhuis [Thu, 10 Mar 2011 16:02:05 +0000 (17:02 +0100)]
Convert encoding of result when in limits
Pieter Noordhuis [Thu, 10 Mar 2011 15:53:20 +0000 (16:53 +0100)]
Remove comment
antirez [Thu, 10 Mar 2011 15:39:19 +0000 (16:39 +0100)]
fixed diskstore race condition
Pieter Noordhuis [Thu, 10 Mar 2011 15:34:52 +0000 (16:34 +0100)]
Generic iterator code for usage in ZUNIONSTORE/ZINTERSTORE
Pieter Noordhuis [Thu, 10 Mar 2011 15:17:14 +0000 (16:17 +0100)]
Make zzlLength take a ziplist argument
Pieter Noordhuis [Thu, 10 Mar 2011 15:16:27 +0000 (16:16 +0100)]
Add new string to long long function
antirez [Wed, 9 Mar 2011 18:14:04 +0000 (19:14 +0100)]
encoding agnostic intsets
antirez [Wed, 9 Mar 2011 17:49:59 +0000 (18:49 +0100)]
ziplist are now endianess agnostic
antirez [Wed, 9 Mar 2011 16:31:02 +0000 (17:31 +0100)]
zipmaps are now endianess agnostic, needed for on disk serialization of zipmaps without convertions layers
antirez [Wed, 9 Mar 2011 16:28:16 +0000 (17:28 +0100)]
memrev variants only doing the work if the target host is big endian
antirez [Wed, 9 Mar 2011 15:36:02 +0000 (16:36 +0100)]
TODO updated
antirez [Wed, 9 Mar 2011 15:33:09 +0000 (16:33 +0100)]
Ehm... sorry if we don't support PDP endianess
antirez [Wed, 9 Mar 2011 15:24:18 +0000 (16:24 +0100)]
endianess conversion API, to be applied to specially encoded data types for arch agnostic encoding.
Pieter Noordhuis [Wed, 9 Mar 2011 15:13:39 +0000 (16:13 +0100)]
Fix used function in ZCARD
Pieter Noordhuis [Wed, 9 Mar 2011 15:13:06 +0000 (16:13 +0100)]
Convert encoding when thresholds overflow
antirez [Wed, 9 Mar 2011 14:44:21 +0000 (15:44 +0100)]
byte ordering detection in config.h
Pieter Noordhuis [Wed, 9 Mar 2011 13:01:57 +0000 (14:01 +0100)]
Configurable thresholds for encoded sorted sets
Pieter Noordhuis [Wed, 9 Mar 2011 12:16:38 +0000 (13:16 +0100)]
Persistence code for encoded sorted sets
Pieter Noordhuis [Wed, 9 Mar 2011 11:37:59 +0000 (12:37 +0100)]
Support dual encoding for more commands
Pieter Noordhuis [Wed, 9 Mar 2011 10:29:21 +0000 (11:29 +0100)]
Support dual encoding for ZRANGEBYSCORE et al
Pieter Noordhuis [Wed, 9 Mar 2011 10:06:25 +0000 (11:06 +0100)]
Helpers to move around in encoded sorted set
Pieter Noordhuis [Wed, 9 Mar 2011 09:30:55 +0000 (10:30 +0100)]
Support dual encoding for ZREMRANGEBYRANK
Pieter Noordhuis [Tue, 8 Mar 2011 23:00:19 +0000 (00:00 +0100)]
Support dual encoding for ZRANGE
Pieter Noordhuis [Tue, 8 Mar 2011 22:56:59 +0000 (23:56 +0100)]
Properly free encoded sorted set
Pieter Noordhuis [Tue, 8 Mar 2011 21:23:56 +0000 (22:23 +0100)]
Look up and remove elements by range
Pieter Noordhuis [Tue, 8 Mar 2011 21:14:46 +0000 (22:14 +0100)]
Typo
Pieter Noordhuis [Tue, 8 Mar 2011 20:36:43 +0000 (21:36 +0100)]
Little less obfuscation
Pieter Noordhuis [Tue, 8 Mar 2011 16:11:15 +0000 (17:11 +0100)]
Support dual encoding in ZREM
antirez [Tue, 8 Mar 2011 15:52:39 +0000 (16:52 +0100)]
removed useless call
Pieter Noordhuis [Tue, 8 Mar 2011 15:51:41 +0000 (16:51 +0100)]
Don't encode element argument when dealing with ziplist
Pieter Noordhuis [Tue, 8 Mar 2011 15:44:22 +0000 (16:44 +0100)]
Initial work for ziplist backed sorted sets
Pieter Noordhuis [Tue, 8 Mar 2011 15:08:52 +0000 (16:08 +0100)]
Add function to create ziplist-backed sorted set
Pieter Noordhuis [Tue, 8 Mar 2011 11:30:01 +0000 (12:30 +0100)]
Fast conversion of double when representable as long long
antirez [Tue, 8 Mar 2011 14:55:34 +0000 (15:55 +0100)]
same final call of two if branches moved outside
antirez [Tue, 8 Mar 2011 14:10:20 +0000 (15:10 +0100)]
useless function removed
antirez [Tue, 8 Mar 2011 14:03:51 +0000 (15:03 +0100)]
comment typo fixed
Pieter Noordhuis [Thu, 10 Feb 2011 10:49:59 +0000 (11:49 +0100)]
Rename zset range functions
Pieter Noordhuis [Mon, 17 Jan 2011 10:10:30 +0000 (11:10 +0100)]
Test for ranges where min > max
Pieter Noordhuis [Thu, 13 Jan 2011 15:06:03 +0000 (16:06 +0100)]
Compiler should decide on inlining
Pieter Noordhuis [Tue, 7 Dec 2010 22:21:05 +0000 (23:21 +0100)]
Move logic concerned with zset ranges
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
Pieter Noordhuis [Thu, 9 Dec 2010 09:37:35 +0000 (10:37 +0100)]
Undo rename of function names where something went wrong
antirez [Mon, 7 Mar 2011 11:22:00 +0000 (12:22 +0100)]
Merge remote branch 'pietern/unstable-sigs' into unstable
Pieter Noordhuis [Sun, 6 Mar 2011 20:14:40 +0000 (21:14 +0100)]
Show database number in cli prompt when non-zero
Pieter Noordhuis [Sun, 6 Mar 2011 19:46:40 +0000 (20:46 +0100)]
Store SELECTed database for reconnect (issue #468)
Pieter Noordhuis [Sun, 6 Mar 2011 19:13:01 +0000 (20:13 +0100)]
Minor memory leak in redis-cli (issue #464)
Pieter Noordhuis [Sun, 6 Mar 2011 19:00:08 +0000 (20:00 +0100)]
Only save history when stdin is a tty (issue #465)
Pieter Noordhuis [Sun, 6 Mar 2011 16:49:22 +0000 (17:49 +0100)]
Save RDB on SIGTERM (see issue #471)
antirez [Fri, 4 Mar 2011 17:10:43 +0000 (18:10 +0100)]
possible fix for a failed assertion introduced with the latest diskstore speedup fix
antirez [Fri, 4 Mar 2011 15:22:50 +0000 (16:22 +0100)]
Fixed return value of GETRANGE / SUBSTR
antirez [Fri, 4 Mar 2011 15:13:54 +0000 (16:13 +0100)]
AOF file descriptor leak fixed
antirez [Fri, 4 Mar 2011 14:49:01 +0000 (15:49 +0100)]
TTL command fixed to work reliably with diskstore
antirez [Fri, 4 Mar 2011 14:45:38 +0000 (15:45 +0100)]
debugging message moved from REDIS_WARING to REDIS_DEBUG
antirez [Tue, 1 Mar 2011 14:20:35 +0000 (15:20 +0100)]
Redis manifesto added
antirez [Mon, 28 Feb 2011 16:55:05 +0000 (17:55 +0100)]
fix type in rdbSaveKeyValuePair() when saving an intset. Don't merge this commit into 2.2 as will not apply cleanly.
antirez [Mon, 28 Feb 2011 16:53:47 +0000 (17:53 +0100)]
direct saving of specially encoded types implemented for lists and sets too
antirez [Mon, 28 Feb 2011 16:36:12 +0000 (17:36 +0100)]
define name typo fixed
antirez [Mon, 28 Feb 2011 16:06:31 +0000 (17:06 +0100)]
added new RDB codes for ziplist encoded lists and intset encodeed sets
antirez [Mon, 28 Feb 2011 16:06:09 +0000 (17:06 +0100)]
save ziplist encoded type as a different type id. Done as separated commit since this is the part that will not merge cleanly in 2.2
antirez [Mon, 28 Feb 2011 15:55:34 +0000 (16:55 +0100)]
convert the zipmap into hash in rdb loading if the zipmap has too many elements
antirez [Mon, 28 Feb 2011 14:31:54 +0000 (15:31 +0100)]
RDB/AOF loading times logged with millisecond precision