Multiple masters is no good if we keep dropping the database
This commit is contained in:
1 parent
e300f753c5
commit
a9b70e1ef7
1 file changed
+2
-1
+2
-1
@@ -1280,7 +1280,8 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
||||
off_t left;
|
||||
UNUSED(el);
|
||||
UNUSED(mask);
|
||||
int fUpdate = server.fActiveReplica; // Should we update our database, or create from scratch?
|
||||
// Should we update our database, or create from scratch?
|
||||
int fUpdate = server.fActiveReplica || server.enable_multimaster;
|
||||
redisMaster *mi = (redisMaster*)privdata;
|
||||
|
||||
serverAssert(GlobalLocksAcquired());
|
||||
|
||||
Reference in new issue
Block a user