Skip to content

Commit

Permalink
fix ut & not copy wal file
Browse files Browse the repository at this point in the history
  • Loading branch information
yapple committed Jun 30, 2022
1 parent a473a12 commit 2c0160a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/checkpoint/checkpoint_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Status CheckpointImpl::CreateCustomCheckpoint(
db_->FlushWAL(false /* sync */);
}
// if we have more than one column family, we need to also get WAL files
if (s.ok()) {
if (s.ok() && !db_options.check_point_fake_flush ) {
s = db_->GetSortedWalFiles(live_wal_files);
}
if (!s.ok()) {
Expand Down

0 comments on commit 2c0160a

Please sign in to comment.