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
8529dd21
"vscode:/vscode.git/clone" did not exist on "6726ea5b535dd294b6c2c7c37c3ae735322fa7f2"
Commit
8529dd21
authored
Feb 01, 2013
by
antirez
Browse files
SYNC not allowed with pending data on the static output buffer.
parent
6726ea5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
8529dd21
...
...
@@ -457,8 +457,8 @@ void syncCommand(redisClient *c) {
* the client about already issued commands. We need a fresh reply
* buffer registering the differences between the BGSAVE and the current
* dataset, so that we can copy to other slaves if needed. */
if
(
listLength
(
c
->
reply
)
!=
0
)
{
addReplyError
(
c
,
"SYNC and PSYNC are invalid with pending
in
put"
);
if
(
listLength
(
c
->
reply
)
!=
0
||
c
->
bufpos
!=
0
)
{
addReplyError
(
c
,
"SYNC and PSYNC are invalid with pending
out
put"
);
return
;
}
...
...
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