Multiple masters is no good if we keep dropping the database
Former-commit-id: a9b70e1ef72201bcae0f08779d442a451b248798
This commit is contained in:
parent
55696f4436
commit
c53b8125df
@ -1280,7 +1280,8 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
|||||||
off_t left;
|
off_t left;
|
||||||
UNUSED(el);
|
UNUSED(el);
|
||||||
UNUSED(mask);
|
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;
|
redisMaster *mi = (redisMaster*)privdata;
|
||||||
|
|
||||||
serverAssert(GlobalLocksAcquired());
|
serverAssert(GlobalLocksAcquired());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user