- 29 10月, 2014 17 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
If we turn from diskless to disk-based replication via CONFIG SET, we need a way to start a BGSAVE if there are slaves alerady waiting for a BGSAVE to start. Normally with disk-based replication we do it as soon as the previous child exits, but when there is a configuration change via CONFIG SET, we may have slaves in WAIT_BGSAVE_START state without an RDB background process currently active.
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
Fdset target is used when we want to write an RDB file directly to slave's sockets. In this setup as long as there is a single slave that is still receiving our payload, we want to continue sennding instead of aborting. However rio calls should abort of no FD is ok. Also we want the errors reported so that we can signal the parent who is ok and who is broken, so there is a new set integers with the state of each fd. Zero is ok, non-zero is the errno of the failure, if avaialble, or a generic EIO.
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
We need to remember what is the saving strategy of the current RDB child process, since the configuration may be modified at runtime via CONFIG SET and still we'll need to understand, when the child exists, what to do and for what goal the process was initiated: to create an RDB file on disk or to write stuff directly to slave's sockets.
-
由 antirez 提交于
-
- 09 10月, 2014 3 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
With the exception of nodes sending MEET packets: we have to trust them since they can send us MEET packets only when the cluster is initially created or because sysadmin manual action.
-
由 antirez 提交于
In the cluster evaluation function we are supposed to set the cluster state as "fail" if we are among a minority, however the code was not detecting to be into a minority partition if exactly half the masters were reachable, which is a minority.
-
- 08 10月, 2014 4 次提交
- 06 10月, 2014 16 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
However we don't try to do this if the integer is already inside a range representable with a shared integer. The performance gain appears to be around ~15% in micro benchmarks, however in the long run this also helps to improve locality, so should have more, hard to measure, benefits.
-
由 Miguel Parramon 提交于
😄 Closes #2034 -
由 Ezequiel Lovelle 提交于
Closes #2029
-
由 Aniruddh Chaturvedi 提交于
Closes #2005
-
由 Gregory Petrosyan 提交于
Closes #2002
-
由 Matt Stancliff 提交于
-
由 Juarez Bochi 提交于
Closes #1960
-
由 T.J. Schuck 提交于
Closes #1938
-
由 Matt Stancliff 提交于
Some language in the comment was difficult to understand, so this commit: clarifies wording, removes unnecessary words, and relocates some dependent clauses closer to what they actually describe. I also tried to break up longer chains of thought (if X, then Y, and Q, and also F, so obviously M) into more manageable chunks for ease of understanding.
-
由 Xiaojie Zhang 提交于
Closes #1523
-
由 Jan-Erik Rediger 提交于
Closes #1739
-
由 Matt Stancliff 提交于
-
由 Matt Stancliff 提交于
-
由 Matt Stancliff 提交于
-