"tests/vscode:/vscode.git/clone" did not exist on "c4b788230ca034761a0e9f6ca35b4aee4b15d340"
Commit c9e6cda9 authored by Yuan Zhou's avatar Yuan Zhou Committed by antirez
Browse files

aof: fix assignment for aof_fsync_offset


Signed-off-by: default avatarYuan Zhou <yuan.zhou@intel.com>
parent d3eeacf9
......@@ -1761,7 +1761,7 @@ void backgroundRewriteDoneHandler(int exitcode, int bysignal) {
server.aof_selected_db = -1; /* Make sure SELECT is re-issued */
aofUpdateCurrentSize();
server.aof_rewrite_base_size = server.aof_current_size;
server.aof_current_size = server.aof_current_size;
server.aof_fsync_offset = server.aof_current_size;
/* Clear regular AOF buffer since its contents was just written to
* the new AOF from the background rewrite buffer. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment