- 08 Feb, 2015 8 commits
-
-
Sun He authored
-
antirez authored
This is very similar to the optimization applied to dictGetRandomKeys, but applied to the single key variant. Related to issue #2306.
-
antirez authored
Related to issue #2306.
-
antirez authored
We use the invariant that the original table ht[0] is never populated up to the index before the current rehashing index. Related to issue #2306.
-
antirez authored
Related to issue #2306.
-
antirez authored
Related to issue #2306.
-
antirez authored
Related to issue #2306.
-
antirez authored
So far not able to find a color palette within the 256 colors which is not confusing. However I believe it is a possible task, so will try better later.
-
- 07 Feb, 2015 4 commits
- 04 Feb, 2015 3 commits
- 03 Feb, 2015 9 commits
-
-
antirez authored
Related to #2346.
-
antirez authored
Related to #2346.
-
Salvatore Sanfilippo authored
Little optimization & bug fix in sort.c
-
antirez authored
-
git://github.com/mihirvj/redisantirez authored
-
antirez authored
-
antirez authored
This also makes it backward compatible in the usage, but for the command name. However the old command name was less obvious so it is worth to break it probably. With the new setup the program main can perform argument parsing and everything else useful for an RDB check regardless of the Redis server itself.
-
antirez authored
Backtrace is a glibc extension, while setproctitle() implementation depends on the memory layout and is partially libc dependent.
-
antirez authored
-
- 02 Feb, 2015 2 commits
-
-
Salvatore Sanfilippo authored
Fix redis-cli CSV NIL output
-
Sun He authored
also fix the situation "dontsort DESC" of a list
-
- 30 Jan, 2015 5 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
This improves PFAIL -> FAIL switch. Too late at this point in the RC releases to add proper PFAIL/FAIL separate dictionary to do this in a less randomized way. Tested in practice with experiments that this helps. PFAIL -> FAIL average with 20 nodes and node-timeout set to 5 seconds takes 2.5 seconds without this commit, 1 second with this commit.
-
antirez authored
-
antirez authored
-
- 29 Jan, 2015 4 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
Otherwise it is impossible to receive the majority of failure reports in the node_timeout*2 window in larger clusters. Still with a 200 nodes cluster, 20 gossip sections are a very reasonable amount of bytes to send. A side effect of this change is also fater cluster nodes joins for large clusters, because the cluster layout makes less time to propagate.
-
antirez authored
-
- 28 Jan, 2015 5 commits
-
-
antirez authored
-
antirez authored
Simple shell script to create / destroy Redis clusters for manual testing.
-
Salvatore Sanfilippo authored
Improve Loading RDB Failure Action
-
Matt Stancliff authored
Previouly if we loaded a corrupt RDB, Redis printed an error report with a big "REPORT ON GITHUB" message at the bottom. But, we know RDB load failures are corrupt data, not corrupt code. Now when RDB failure is detected (duplicate keys or unknown data types in the file), we run check-rdb against the RDB then exit. The automatic check-rdb hopefully gives the user instant feedback about what is wrong instead of providing a mysterious stack trace.
-
Matt Stancliff authored
redis-check-rdb (previously redis-check-dump) had every RDB define copy/pasted from rdb.h and some defines copied from redis.h. Since the initial copy, some constants had changed in Redis headers and check-dump was using incorrect values. Since check-rdb is now a mode of Redis, the old check-dump code is cleaned up to: - replace all printf with redisLog (and remove \n from all strings) - remove all copy/pasted defines to use defines from rdb.h and redis.h - replace all malloc/free with zmalloc/zfree - remove unnecessary include headers
-