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
a6c2f901
"vscode:/vscode.git/clone" did not exist on "750b007d7ce9b532a482e03e5e2cd65b1c26fdef"
Commit
a6c2f901
authored
Feb 08, 2013
by
antirez
Browse files
Make all WATCHers dirty when the slave reloads the DB.
parent
46dd4c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
a6c2f901
...
...
@@ -427,6 +427,7 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
return
;
}
redisLog
(
REDIS_NOTICE
,
"MASTER <-> SLAVE sync: Loading DB in memory"
);
signalFlushedDb
(
-
1
);
emptyDb
();
/* Before loading the DB into memory we need to delete the readable
* handler, otherwise it will get called recursively since
...
...
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