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
412eb67d
Commit
412eb67d
authored
May 29, 2019
by
Yuan Zhou
Browse files
aof: fix assignment for aof_fsync_offset
Signed-off-by:
Yuan Zhou
<
yuan.zhou@intel.com
>
parent
fd0ee469
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
412eb67d
...
...
@@ -1768,7 +1768,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