Skip to content

Commit

Permalink
Update src/replica/replica.h
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Mar 7, 2024
1 parent 52395b5 commit 05d29d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/replica/replica.h
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,8 @@ class replica : public serverlet<replica>, public ref_counter, public replica_ba
bool _is_manual_emergency_checkpointing{false};
bool _is_duplication_master{false};
bool _is_duplication_follower{false};
// replica is finding some private logs to load for duplication,avoid unexpected plog gc
// Indicate whether the replica is during finding out some private logs to
// load for duplication. It useful to prevent plog GCed unexpectedly.
std::atomic<bool> _is_duplication_plog_checking{false};

// backup
Expand Down

0 comments on commit 05d29d2

Please sign in to comment.