Skip to content

Commit b11007b

Browse files
committed
Small typos in replication-internals
1 parent ed399ad commit b11007b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/core/replication-internals.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ member should become primary.
114114

115115
Elections are the process that the members of a replica set use to
116116
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
118118
loses contact with a :term:`primary` node. All members have one vote
119119
in an election, and every :program:`mongod` can veto an election. A
120120
single member's veto will invalidate the election.
@@ -142,26 +142,26 @@ A voting node will veto an election under the following conditions:
142142
- If the node seeking an election is more than 10 seconds behind the
143143
most recent operation to the replica set.
144144

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
146146
in the set that is also eligible for election.
147147

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
150150
perspective of the voting node.
151151

152152
- 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
154154
node seeking election.
155155

156156
The first node to receive votes from a majority of members in a set
157157
becomes the next primary until the next election. Be
158158
aware of the following conditions and possible situations:
159159

160-
- Replica sets send heartbeats (pings) to each other every 2
160+
- Replica set members send heartbeats (pings) to each other every 2
161161
seconds. If a heartbeat does not return for more than 10 seconds,
162162
the other nodes mark the delinquent node as inaccessible.
163163

164-
- Replica set members only compare priorities with other members of
164+
- Replica set members only compare priorities with other members of
165165
the set. The absolute value of priorities does not have any impact on
166166
the outcome of replica set elections.
167167

0 commit comments

Comments
 (0)