Diskless replication: less debugging printfs around.

This commit is contained in:
antirez 2014-10-17 17:11:46 +02:00
parent 348c4f6ce3
commit c38bb5b2ea

View File

@ -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");