mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
replication slave timeout when receiving the initial bulk data set to 3600 seconds, now that replication is non-blocking the server must save the db before to start the async replication and this can take a lot of time with huge datasets
This commit is contained in:
parent
2abee6f215
commit
8c4d91fcf8
2
redis.c
2
redis.c
@ -3862,7 +3862,7 @@ static int syncWithMaster(void) {
|
||||
return REDIS_ERR;
|
||||
}
|
||||
/* Read the bulk write count */
|
||||
if (syncReadLine(fd,buf,1024,5) == -1) {
|
||||
if (syncReadLine(fd,buf,1024,3600) == -1) {
|
||||
close(fd);
|
||||
redisLog(REDIS_WARNING,"I/O error reading bulk count from MASTER: %s",
|
||||
strerror(errno));
|
||||
|
Loading…
x
Reference in New Issue
Block a user