mirror of
https://github.com/fluencelabs/redis
synced 2025-05-19 05:31:19 +00:00
Diskless replication: less debugging printfs around.
This commit is contained in:
parent
348c4f6ce3
commit
c38bb5b2ea
@ -882,7 +882,6 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nread = read(fd,buf,readlen);
|
nread = read(fd,buf,readlen);
|
||||||
printf("NREAD %d (%d)\n", (int)nread, (int)readlen);
|
|
||||||
if (nread <= 0) {
|
if (nread <= 0) {
|
||||||
redisLog(REDIS_WARNING,"I/O error trying to sync with MASTER: %s",
|
redisLog(REDIS_WARNING,"I/O error trying to sync with MASTER: %s",
|
||||||
(nread == -1) ? strerror(errno) : "connection lost");
|
(nread == -1) ? strerror(errno) : "connection lost");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user