Skip to content

Commit

Permalink
FIX: in async mode, log records may remain in flush size.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhwanJang committed Mar 2, 2021
1 parent 6c3fb54 commit 92d2afe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/default/cmdlogbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@ void cmdlog_buf_final(void)
return;
}

/* In async mode, log records may remain in CMDLOG_FLUSH_AUTO_SIZE. */
(void)do_log_buff_flush(true);

/* log buffer final */
log_BUFFER *logbuff = &log_buff_gl.log_buffer;

Expand Down

0 comments on commit 92d2afe

Please sign in to comment.