File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2328,9 +2328,7 @@ int rewriteAppendOnlyFileBackground(void) {
2328
2328
}
2329
2329
2330
2330
/* We set aof_selected_db to -1 in order to force the next call to the
2331
- * feedAppendOnlyFile() to issue a SELECT command, so the differences
2332
- * accumulated by the parent into server.aof_rewrite_buf will start
2333
- * with a SELECT statement and it will be safe to merge. */
2331
+ * feedAppendOnlyFile() to issue a SELECT command. */
2334
2332
server .aof_selected_db = -1 ;
2335
2333
flushAppendOnlyFile (1 );
2336
2334
if (openNewIncrAofForAppend () != C_OK ) return C_ERR ;
Original file line number Diff line number Diff line change @@ -1616,7 +1616,6 @@ struct redisServer {
1616
1616
off_t aof_fsync_offset ; /* AOF offset which is already synced to disk. */
1617
1617
int aof_flush_sleep ; /* Micros to sleep before flush. (used by tests) */
1618
1618
int aof_rewrite_scheduled ; /* Rewrite once BGSAVE terminates. */
1619
- list * aof_rewrite_buf_blocks ; /* Hold changes during an AOF rewrite. */
1620
1619
sds aof_buf ; /* AOF buffer, written before entering the event loop */
1621
1620
int aof_fd ; /* File descriptor of currently selected AOF file */
1622
1621
int aof_selected_db ; /* Currently selected DB in AOF */
You can’t perform that action at this time.
0 commit comments