Skip to content

Commit

Permalink
Update src/replica/backup/cold_backup_context.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Smilencer <[email protected]>
  • Loading branch information
acelyc111 and Smityz authored Jan 14, 2023
1 parent 1c344c7 commit d39e130
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/replica/backup/cold_backup_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,7 @@ void cold_backup_context::on_upload_chkpt_dir()
}

if (checkpoint_files.size() <= 0) {
LOG_INFO_F("{}: checkpoint dir is empty, so upload is complete and just start write "
"backup_metadata",
name);
LOG_INFO_F("{}: checkpoint dir is empty, so upload is complete and just start write", name);
bool old_status = false;
// using atomic variant _have_write_backup_metadata is to allow one task to
// write backup_metadata because on_upload_chkpt_dir maybe call multi-time
Expand Down

0 comments on commit d39e130

Please sign in to comment.