Merge pull request #4761 from WJWH/minor-typos
Fix some minor typos in comments
This commit is contained in:
commit
9733126ae3
@ -2289,7 +2289,7 @@ void backgroundSaveDoneHandlerDisk(int exitcode, int bysignal) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* A background saving child (BGSAVE) terminated its work. Handle this.
|
/* A background saving child (BGSAVE) terminated its work. Handle this.
|
||||||
* This function covers the case of RDB -> Salves socket transfers for
|
* This function covers the case of RDB -> Slaves socket transfers for
|
||||||
* diskless replication. */
|
* diskless replication. */
|
||||||
void backgroundSaveDoneHandlerSocket(int exitcode, int bysignal) {
|
void backgroundSaveDoneHandlerSocket(int exitcode, int bysignal) {
|
||||||
if (!bysignal && exitcode == 0) {
|
if (!bysignal && exitcode == 0) {
|
||||||
|
@ -256,7 +256,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
|
|||||||
while((ln = listNext(&li))) {
|
while((ln = listNext(&li))) {
|
||||||
client *slave = ln->value;
|
client *slave = ln->value;
|
||||||
|
|
||||||
/* Don't feed slaves that are still waiting for BGSAVE to start */
|
/* Don't feed slaves that are still waiting for BGSAVE to start. */
|
||||||
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) continue;
|
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) continue;
|
||||||
|
|
||||||
/* Feed slaves that are waiting for the initial SYNC (so these commands
|
/* Feed slaves that are waiting for the initial SYNC (so these commands
|
||||||
@ -295,7 +295,7 @@ void replicationFeedSlavesFromMasterStream(list *slaves, char *buf, size_t bufle
|
|||||||
while((ln = listNext(&li))) {
|
while((ln = listNext(&li))) {
|
||||||
client *slave = ln->value;
|
client *slave = ln->value;
|
||||||
|
|
||||||
/* Don't feed slaves that are still waiting for BGSAVE to start */
|
/* Don't feed slaves that are still waiting for BGSAVE to start. */
|
||||||
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) continue;
|
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) continue;
|
||||||
addReplyProto(slave,buf,buflen);
|
addReplyProto(slave,buf,buflen);
|
||||||
}
|
}
|
||||||
@ -585,7 +585,7 @@ int startBgsaveForReplication(int mincapa) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* If we failed to BGSAVE, remove the slaves waiting for a full
|
/* If we failed to BGSAVE, remove the slaves waiting for a full
|
||||||
* resynchorinization from the list of slaves, inform them with
|
* resynchronization from the list of slaves, inform them with
|
||||||
* an error about what happened, close the connection ASAP. */
|
* an error about what happened, close the connection ASAP. */
|
||||||
if (retval == C_ERR) {
|
if (retval == C_ERR) {
|
||||||
serverLog(LL_WARNING,"BGSAVE for replication failed");
|
serverLog(LL_WARNING,"BGSAVE for replication failed");
|
||||||
|
@ -3208,7 +3208,7 @@ void preventCommandReplication(client *c) {
|
|||||||
* CMD_CALL_STATS Populate command stats.
|
* CMD_CALL_STATS Populate command stats.
|
||||||
* CMD_CALL_PROPAGATE_AOF Append command to AOF if it modified the dataset
|
* CMD_CALL_PROPAGATE_AOF Append command to AOF if it modified the dataset
|
||||||
* or if the client flags are forcing propagation.
|
* or if the client flags are forcing propagation.
|
||||||
* CMD_CALL_PROPAGATE_REPL Send command to salves if it modified the dataset
|
* CMD_CALL_PROPAGATE_REPL Send command to slaves if it modified the dataset
|
||||||
* or if the client flags are forcing propagation.
|
* or if the client flags are forcing propagation.
|
||||||
* CMD_CALL_PROPAGATE Alias for PROPAGATE_AOF|PROPAGATE_REPL.
|
* CMD_CALL_PROPAGATE Alias for PROPAGATE_AOF|PROPAGATE_REPL.
|
||||||
* CMD_CALL_FULL Alias for SLOWLOG|STATS|PROPAGATE.
|
* CMD_CALL_FULL Alias for SLOWLOG|STATS|PROPAGATE.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user