From ab78d62ebd3e7366ef6d1cd55b6f3ac782ade263 Mon Sep 17 00:00:00 2001 From: guoningshen Date: Thu, 19 Oct 2023 11:21:17 +0800 Subject: [PATCH] add some comment --- src/replica/replica.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/replica/replica.h b/src/replica/replica.h index 9145362a44..f5baf0a92e 100644 --- a/src/replica/replica.h +++ b/src/replica/replica.h @@ -638,7 +638,9 @@ class replica : public serverlet, public ref_counter, public replica_ba bool _is_manual_emergency_checkpointing{false}; bool _is_duplication_master{false}; bool _is_duplication_follower{false}; - std::atomic _is_duplication_plog_checking{false}; + std::atomic _is_duplication_plog_checking{false}; // replica is finding some private logs + // to load for duplication,avoid + // unexpected plog gc // backup std::unique_ptr _backup_mgr;