Commit b98b8426 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:3337] #3337 Fsync log for begin_checkpoint.


git-svn-id: file:///svn/toku/tokudb@29402 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2a2883f8
...@@ -2153,7 +2153,7 @@ toku_cachetable_begin_checkpoint (CACHETABLE ct, TOKULOGGER logger) { ...@@ -2153,7 +2153,7 @@ toku_cachetable_begin_checkpoint (CACHETABLE ct, TOKULOGGER logger) {
// The checkpoint must be performed after the lock is acquired. // The checkpoint must be performed after the lock is acquired.
{ {
LSN begin_lsn={.lsn=-1}; // we'll need to store the lsn of the checkpoint begin in all the trees that are checkpointed. LSN begin_lsn={.lsn=-1}; // we'll need to store the lsn of the checkpoint begin in all the trees that are checkpointed.
int r = toku_log_begin_checkpoint(logger, &begin_lsn, 0, 0); int r = toku_log_begin_checkpoint(logger, &begin_lsn, 1, 0);
assert(r==0); assert(r==0);
ct->lsn_of_checkpoint_in_progress = begin_lsn; ct->lsn_of_checkpoint_in_progress = begin_lsn;
} }
......
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