Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c9e6cda9
Commit
c9e6cda9
authored
May 29, 2019
by
Yuan Zhou
Committed by
antirez
Nov 19, 2019
Browse files
aof: fix assignment for aof_fsync_offset
Signed-off-by:
Yuan Zhou
<
yuan.zhou@intel.com
>
parent
d3eeacf9
Changes
1
Show whitespace changes
Inline
Side-by-side
src/aof.c
View file @
c9e6cda9
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment