We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bdfe53 commit 891a19cCopy full SHA for 891a19c
1 file changed
src/consensus/aft/raft.h
@@ -2806,18 +2806,6 @@ namespace aft
2806
}
2807
2808
2809
- // Remove all nodes in the node state that are not present in any active
2810
- // configuration.
2811
- std::vector<ccf::NodeId> to_remove;
2812
-
2813
- for (const auto& node : all_other_nodes)
2814
- {
2815
- if (active_nodes.find(node.first) == active_nodes.end())
2816
2817
- to_remove.push_back(node.first);
2818
- }
2819
2820
2821
// Add all active nodes that are not already present in the node state.
2822
for (auto node_info : active_nodes)
2823
{
0 commit comments