Skip to content

Commit

Permalink
add some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guoningshen committed Oct 19, 2023
1 parent 30b8957 commit ab78d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/replica/replica.h
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,9 @@ 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};
std::atomic<bool> _is_duplication_plog_checking{false};
std::atomic<bool> _is_duplication_plog_checking{false}; // replica is finding some private logs
// to load for duplication,avoid
// unexpected plog gc

// backup
std::unique_ptr<replica_backup_manager> _backup_mgr;
Expand Down

0 comments on commit ab78d62

Please sign in to comment.