mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
AOF refactoring, now with three states: ON, OFF, WAIT_REWRITE.
This commit is contained in:
@ -361,7 +361,7 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
||||
/* Restart the AOF subsystem now that we finished the sync. This
|
||||
* will trigger an AOF rewrite, and when done will start appending
|
||||
* to the new file. */
|
||||
if (server.appendonly) {
|
||||
if (server.aof_state != REDIS_AOF_OFF) {
|
||||
int retry = 10;
|
||||
|
||||
stopAppendOnly();
|
||||
|
Reference in New Issue
Block a user