@@ -114,7 +114,7 @@ member should become primary.
114
114
115
115
Elections are the process that the members of a replica set use to
116
116
select the primary node in a cluster. Elections follow two events:
117
- primary node that "steps down" or a :term: `secondary ` member that
117
+ a primary node that "steps down" or a :term: `secondary ` member that
118
118
loses contact with a :term: `primary ` node. All members have one vote
119
119
in an election, and every :program: `mongod ` can veto an election. A
120
120
single member's veto will invalidate the election.
@@ -142,26 +142,26 @@ A voting node will veto an election under the following conditions:
142
142
- If the node seeking an election is more than 10 seconds behind the
143
143
most recent operation to the replica set.
144
144
145
- - If the node seeking an election has a lower priority than other node
145
+ - If the node seeking an election has a lower priority than another node
146
146
in the set that is also eligible for election.
147
147
148
- - If the current :term: `primary ` node has more recent operations than the
149
- (i.e. a higher "optime") than then node seeking election, from the
148
+ - If the current :term: `primary ` node has more recent operations
149
+ (i.e. a higher "optime") than the node seeking election, from the
150
150
perspective of the voting node.
151
151
152
152
- The current primary will also veto an election if it has the same or
153
- more recent operations (i.e. a higher or " equal optime") than the
153
+ more recent operations (i.e. a " higher or equal optime") than the
154
154
node seeking election.
155
155
156
156
The first node to receive votes from a majority of members in a set
157
157
becomes the next primary until the next election. Be
158
158
aware of the following conditions and possible situations:
159
159
160
- - Replica sets send heartbeats (pings) to each other every 2
160
+ - Replica set members send heartbeats (pings) to each other every 2
161
161
seconds. If a heartbeat does not return for more than 10 seconds,
162
162
the other nodes mark the delinquent node as inaccessible.
163
163
164
- - Replica set members only compare priorities with other members of
164
+ - Replica set members only compare priorities with other members of
165
165
the set. The absolute value of priorities does not have any impact on
166
166
the outcome of replica set elections.
167
167
0 commit comments