Skip to content

Commit efb1a25

Browse files
cjen1-msftCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 7d6cbcf commit efb1a25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/consensus/aft/raft.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ namespace aft
22962296
// about to retire too, but that node will then nudge
22972297
// a successor, and that seems preferable to nudging a node that
22982298
// risks not being eligible if reconfiguration id is prioritised.
2299-
// Alternatively, we could pick the node with the higest match idx
2299+
// Alternatively, we could pick the node with the highest match idx
23002300
// in the latest config, provided that match idx at least as high as a
23012301
// majority. That would make them both eligible and unlikely to retire
23022302
// soon.

tests/e2e_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ def run_propose_request_vote(const_args):
20062006
args = copy.deepcopy(const_args)
20072007
args.label += "_propose_vote"
20082008
args.nodes = infra.e2e_args.nodes(args, 3)
2009-
# use a high timeout to hedge against flakey nodes which pause for seconds
2009+
# use a high timeout to hedge against flaky nodes which pause for seconds
20102010
# In most cases this should not matter as the propose_request_vote will cause the election quickly
20112011
args.election_timeout = 20000
20122012
with infra.network.network(

0 commit comments

Comments
 (0)