Skip to content

Commit

Permalink
handle open read ec when find log file to start
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsmiracle committed Mar 26, 2024
1 parent 05d29d2 commit a36ee60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/replica/duplication/load_from_private_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ void load_from_private_log::find_log_file_to_start()
error_s es = log_utils::open_read(pr.second->path(), file);
if (!es.is_ok()) {
LOG_ERROR_PREFIX("{}", es);
_duplicator->set_duplication_plog_checking(false);
return;
}
new_file_map.emplace(pr.first, file);
Expand Down

0 comments on commit a36ee60

Please sign in to comment.