Correct errors in code comments
This commit is contained in:
parent
b35d6e5cff
commit
61a2aa0e08
|
@ -547,10 +547,10 @@ void clusterInit(void) {
|
||||||
* 1) All other nodes are forget.
|
* 1) All other nodes are forget.
|
||||||
* 2) All the assigned / open slots are released.
|
* 2) All the assigned / open slots are released.
|
||||||
* 3) If the node is a slave, it turns into a master.
|
* 3) If the node is a slave, it turns into a master.
|
||||||
* 5) Only for hard reset: a new Node ID is generated.
|
* 4) Only for hard reset: a new Node ID is generated.
|
||||||
* 6) Only for hard reset: currentEpoch and configEpoch are set to 0.
|
* 5) Only for hard reset: currentEpoch and configEpoch are set to 0.
|
||||||
* 7) The new configuration is saved and the cluster state updated.
|
* 6) The new configuration is saved and the cluster state updated.
|
||||||
* 8) If the node was a slave, the whole data set is flushed away. */
|
* 7) If the node was a slave, the whole data set is flushed away. */
|
||||||
void clusterReset(int hard) {
|
void clusterReset(int hard) {
|
||||||
dictIterator *di;
|
dictIterator *di;
|
||||||
dictEntry *de;
|
dictEntry *de;
|
||||||
|
|
Loading…
Reference in New Issue