summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWander Hillen <wander@wetransfer.com>2018-03-16 09:59:14 +0100
committerWander Hillen <wander@wetransfer.com>2018-03-16 09:59:14 +0100
commitdcffca0a31bfd2ed9aec0f2cc49d14767c7ffec6 (patch)
tree77c8ba43995989c44da81ece614855ae93384507 /src
parentd8207d09eedb08c8d70bff3ed91e2f5307e9dcf8 (diff)
downloadredis-dcffca0a31bfd2ed9aec0f2cc49d14767c7ffec6.tar.gz
Fix typos, add some periods
Diffstat (limited to 'src')
-rw-r--r--src/replication.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/replication.c b/src/replication.c
index 8c01bfb51..c5c3618a5 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -255,7 +255,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
while((ln = listNext(&li))) {
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;
/* Feed slaves that are waiting for the initial SYNC (so these commands
@@ -294,7 +294,7 @@ void replicationFeedSlavesFromMasterStream(list *slaves, char *buf, size_t bufle
while((ln = listNext(&li))) {
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;
addReplyString(slave,buf,buflen);
}
@@ -584,7 +584,7 @@ int startBgsaveForReplication(int mincapa) {
}
/* If we failed to BGSAVE, remove the slaves waiting for a full
- * resynchorinization from the list of salves, inform them with
+ * resynchronization from the list of slaves, inform them with
* an error about what happened, close the connection ASAP. */
if (retval == C_ERR) {
serverLog(LL_WARNING,"BGSAVE for replication failed");
@@ -604,7 +604,7 @@ int startBgsaveForReplication(int mincapa) {
}
/* If the target is socket, rdbSaveToSlavesSockets() already setup
- * the salves for a full resync. Otherwise for disk target do it now.*/
+ * the slaves for a full resync. Otherwise for disk target do it now.*/
if (!socket_target) {
listRewind(server.slaves,&li);
while((ln = listNext(&li))) {