From 427ec6d6a82b0ff960157e418ab6be4e6011b66d Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Fri, 8 Sep 2023 15:52:09 +0000 Subject: [PATCH] Add comment about contains_new_view --- src/consensus/aft/raft_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/consensus/aft/raft_types.h b/src/consensus/aft/raft_types.h index 8284981611fb..2c4c3e3596d6 100644 --- a/src/consensus/aft/raft_types.h +++ b/src/consensus/aft/raft_types.h @@ -130,6 +130,8 @@ namespace aft // from prev_term, then the first entry is the first transaction in that new // term Term term_of_idx; + // This is unused by the current implementation, but is kept to preserve + // wire compatibility with previous versions of the code. bool contains_new_view; }; DECLARE_JSON_TYPE_WITH_2BASES(