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
3f92e056
Commit
3f92e056
authored
Jan 08, 2014
by
antirez
Browse files
Clarify a comment in slaveTryPartialResynchronization().
parent
fdf50e1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
3f92e056
...
@@ -1005,7 +1005,7 @@ int slaveTryPartialResynchronization(int fd) {
...
@@ -1005,7 +1005,7 @@ int slaveTryPartialResynchronization(int fd) {
/* If we reach this point we receied either an error since the master does
/* If we reach this point we receied either an error since the master does
* not understand PSYNC, or an unexpected reply from the master.
* not understand PSYNC, or an unexpected reply from the master.
* Re
ply with
PSYNC_NOT_SUPPORTED in both cases. */
* Re
turn
PSYNC_NOT_SUPPORTED
to the caller
in both cases. */
if
(
strncmp
(
reply
,
"-ERR"
,
4
))
{
if
(
strncmp
(
reply
,
"-ERR"
,
4
))
{
/* If it's not an error, log the unexpected event. */
/* If it's not an error, log the unexpected event. */
...
...
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