Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
456003af
Commit
456003af
authored
Oct 17, 2014
by
antirez
Browse files
Diskless replication: less debugging printfs around.
parent
fd112f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
456003af
...
@@ -888,7 +888,6 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
...
@@ -888,7 +888,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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment