mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
Make all WATCHers dirty when the slave reloads the DB.
This commit is contained in:
@ -427,6 +427,7 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
redisLog(REDIS_NOTICE, "MASTER <-> SLAVE sync: Loading DB in memory");
|
redisLog(REDIS_NOTICE, "MASTER <-> SLAVE sync: Loading DB in memory");
|
||||||
|
signalFlushedDb(-1);
|
||||||
emptyDb();
|
emptyDb();
|
||||||
/* Before loading the DB into memory we need to delete the readable
|
/* Before loading the DB into memory we need to delete the readable
|
||||||
* handler, otherwise it will get called recursively since
|
* handler, otherwise it will get called recursively since
|
||||||
|
Reference in New Issue
Block a user