- 13 Jan, 2015 3 commits
-
-
antirez authored
In order to avoid that misconfigured cluster nodes at some time may force an IP update on other nodes, it is required that nodes update their own address only on MEET messages. However it does not make sense to do this the first time a node is contacted and yet does not have an IP, we just risk that myself->ip remains not assigned if there are messages lost or cluster creation procedures that don't make sure everybody is targeted by at least one incoming MEET message. Also fix the logging of the IP switch avoiding the :-1 tail.
-
antirez authored
Also explicitly set version to 0, add a protocol version define, improve comments in the gossip structure. Note that the structure layout is the same after the change, we are just making the padding explicit with an additional not used 16 bits field. So this commit is still able to talk with the previous versions of cluster nodes.
-
antirez authored
Valgrind checks that the buffers we transfer via syscalls are all composed of bytes actually initialized. This is useful, it makes we able to avoid leaking informations in non initialized parts fo messages transferred to other hosts. This commit fixes one of such issues.
-
- 12 Jan, 2015 1 commit
-
-
antirez authored
Can't be initialized by resetManualFailover() since it's actual state the function uses, so we need to initialize it at startup time. Not really a bug in practical terms, but showed up into valgrind and is not technically correct anyway.
-
- 09 Jan, 2015 4 commits
-
-
antirez authored
This fix is from @NanXiao, however I was not able to retain authorship because the Pull Request original repository was removed.
-
antirez authored
-
antirez authored
-
antirez authored
Before this commit scripts were able to access / create keys outside the set of hash slots served by the local node.
-
- 08 Jan, 2015 6 commits
-
-
Matt Stancliff authored
-
Matt Stancliff authored
Under certain conditions the node list wasn't being fully populated and 'create' would fail trying to call methods on nil objects.
-
Matt Stancliff authored
This tiny bit of code has gone through so many revisions. Hopefully it's more correct now. Fixes #2204
-
antirez authored
-
Jungtaek Lim authored
-
antirez authored
-
- 23 Dec, 2014 1 commit
-
-
antirez authored
1. Server unxtime may remain not updated while loading AOF, so ETA is not updated correctly. 2. Number of processed byte was not initialized. 3. Possible division by zero condition (likely cause of issue #1932).
-
- 22 Dec, 2014 1 commit
-
-
Alon Diamant authored
-
- 19 Dec, 2014 1 commit
-
-
antirez authored
Fixes issue #2225.
-
- 17 Dec, 2014 2 commits
-
-
Matt Stancliff authored
If we woke up to accept a connection, but we can't accept it, inform the user of the error going on with their networking. (The previous message was the same for success or error!)
-
Rhommel Lamas authored
-
- 16 Dec, 2014 1 commit
-
-
antirez authored
-
- 15 Dec, 2014 1 commit
-
-
antirez authored
-
- 13 Dec, 2014 2 commits
-
-
antirez authored
Otherwise there are security risks, especially when providing Redis as a service, the user may "sniff" for admin commands renamed to an unguessable string via rename-command in redis.conf.
-
antirez authored
The old list did not made much sense... and the flag is currently not used at all, so no side effects.
-
- 12 Dec, 2014 2 commits
-
-
Rhommel Lamas authored
-
antirez authored
It fixes a bad bug that crashes the server in certain conditions as shown in issue #2210.
-
- 11 Dec, 2014 8 commits
-
-
antirez authored
Related to #2094.
-
Matt Stancliff authored
People mostly use SORT against lists, but our prior behavior was pretending lists were an unordered bag requiring a forced-sort when no sort was requested. We can just use the native list ordering to ensure consistency across replicaion and scripting calls. Closes #2079 Closes #545 (again)
-
zhanghailei authored
-
Ben Dowling authored
status command currently reports success when redis has crashed and the pid file still exists. Changing to check the actual process is running.
-
Nan Xiao authored
Fix function prototype in redis-cli.c.
-
Matt Stancliff authored
-
h0x91b authored
if redis works in cluster-mode and redis-cli was run with argv, reconnect if needs. example: ./redis-cli set foo bar if return is MOVED redis-cli just do nothing.
-
Mariano Pérez Rodríguez authored
Fix two typos in redis.conf: - "trnasfers" --> "transfers" - "enalbed" --> "enabled"
-
- 09 Dec, 2014 7 commits
-
-
Sun He authored
-
Deepak Verma authored
-
azure provisioned user authored
-
Sun He authored
-
Sun He authored
-
Sun He authored
-
antirez authored
10000 completes in a too short time and may easily provide unreliable figures because of tiny duration.
-