Skip to content

Commit

Permalink
Add comment about contains_new_view
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Sep 8, 2023
1 parent a62f7bf commit 427ec6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/consensus/aft/raft_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 427ec6d

Please sign in to comment.