Skip to content

Commit bfcde5e

Browse files
mungitoperritojeff-allen-mongo
authored andcommitted
DOCS-14169 change slaveDelay to secondaryDelaySecs
1 parent 3abfc47 commit bfcde5e

19 files changed

+49
-46
lines changed

source/core/replica-set-delayed-member.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ delayed members must also be voting members (i.e.
6969
acknowledging write operations with ``majority`` write concern.
7070

7171
Delayed secondaries can return write acknowledgment no earlier than the
72-
configured :rsconf:`~members[n].slaveDelay`.
72+
configured :rsconf:`~members[n].secondaryDelaySecs`.
7373

7474
Sharding
7575
~~~~~~~~
@@ -96,7 +96,7 @@ Configuration
9696
A delayed member has its
9797
:rsconf:`members[n].priority` equal to ``0``,
9898
:rsconf:`members[n].hidden` equal to ``true``, and
99-
its :rsconf:`members[n].slaveDelay` equal to the
99+
its :rsconf:`members[n].secondaryDelaySecs` equal to the
100100
number of seconds of delay:
101101

102102
.. code-block:: javascript
@@ -105,7 +105,7 @@ number of seconds of delay:
105105
"_id" : <num>,
106106
"host" : <hostname:port>,
107107
"priority" : 0,
108-
"slaveDelay" : <seconds>,
108+
"secondaryDelaySecs" : <seconds>,
109109
"hidden" : true
110110
}
111111

source/core/replica-set-elections.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ A non-voting member has both :rsconf:`~members[n].votes` and
208208
"tags" : {
209209

210210
},
211-
"slaveDelay" : NumberLong(0),
211+
"secondaryDelaySecs" : NumberLong(0),
212212
"votes" : 0
213213
}
214214

source/core/replica-set-sync.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ the list of all replica set members:
151151
replica set elections, the sync source *must* also vote.
152152

153153
- If the member is *not* a :rsconf:`delayed member
154-
<members[n].slaveDelay>`, the sync source *must not* be delayed.
154+
<members[n].secondaryDelaySecs>`, the sync source *must not* be delayed.
155155

156156
- If the member *is* a :rsconf:`delayed member
157-
<members[n].slaveDelay>`, the sync source must have a shorter
157+
<members[n].secondaryDelaySecs>`, the sync source must have a shorter
158158
configured delay.
159159

160160
- The sync source *must* be faster (i.e. lower latency) than
@@ -321,10 +321,10 @@ through the list of all replica set members:
321321
replica set elections, the sync source *must* also vote.
322322

323323
- If the member is *not* a :rsconf:`delayed member
324-
<members[n].slaveDelay>`, the sync source *must not* be delayed.
324+
<members[n].secondaryDelaySecs>`, the sync source *must not* be delayed.
325325

326326
- If the member *is* a :rsconf:`delayed member
327-
<members[n].slaveDelay>`, the sync source must have a shorter
327+
<members[n].secondaryDelaySecs>`, the sync source must have a shorter
328328
configured delay.
329329

330330
- The sync source *must* be faster (i.e. lower latency) than

source/includes/extracts-replSetReconfig.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ content: |
3131
a majority of voting replica set members. However, the majority
3232
committed writes in the previous configuration may not all be
3333
committed in the current configuration. :rsconf:`Delayed
34-
<members[n].slaveDelay>` members *or* members that are
34+
<members[n].secondaryDelaySecs>` members *or* members that are
3535
:method:`lagging behind <rs.printSecondaryReplicationInfo()>` the
3636
primary can increase the time spent in this phase.
3737

source/includes/output-printSecondaryReplicationInfo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ members:
1414

1515
A :ref:`delayed member <replica-set-delayed-members>` may show as ``0``
1616
seconds behind the primary when the inactivity period on the primary is
17-
greater than the :rsconf:`members[n].slaveDelay` value.
17+
greater than the :rsconf:`members[n].secondaryDelaySecs` value.
1818

1919
A member may show a negative time value behind the primary when |method|
2020
is run. This is expected if |method| is run after a secondary replicates

source/includes/replica-set-conf-document-output.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include only a subset of these settings:
2020
hidden: <boolean>,
2121
priority: <number>,
2222
tags: <document>,
23-
slaveDelay: <int>,
23+
secondaryDelaySecs: <int>,
2424
votes: <number>
2525
},
2626
...

source/includes/steps-deploy-geographically-distributed-replica-set-5member.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ content: |
145145
"tags" : {
146146
147147
},
148-
"slaveDelay" : NumberLong(0),
148+
"secondaryDelaySecs" : NumberLong(0),
149149
"votes" : 1
150150
},
151151
{
@@ -158,7 +158,7 @@ content: |
158158
"tags" : {
159159
160160
},
161-
"slaveDelay" : NumberLong(0),
161+
"secondaryDelaySecs" : NumberLong(0),
162162
"votes" : 1
163163
},
164164
{
@@ -171,7 +171,7 @@ content: |
171171
"tags" : {
172172
173173
},
174-
"slaveDelay" : NumberLong(0),
174+
"secondaryDelaySecs" : NumberLong(0),
175175
"votes" : 1
176176
},
177177
{
@@ -184,7 +184,7 @@ content: |
184184
"tags" : {
185185
186186
},
187-
"slaveDelay" : NumberLong(0),
187+
"secondaryDelaySecs" : NumberLong(0),
188188
"votes" : 1
189189
},
190190
{
@@ -197,7 +197,7 @@ content: |
197197
"tags" : {
198198
199199
},
200-
"slaveDelay" : NumberLong(0),
200+
"secondaryDelaySecs" : NumberLong(0),
201201
"votes" : 1
202202
}
203203
],

source/includes/steps-deploy-replica-set.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ action:
152152
"tags" : {
153153
154154
},
155-
"slaveDelay" : NumberLong(0),
155+
"secondaryDelaySecs" : NumberLong(0),
156156
"votes" : 1
157157
},
158158
{
@@ -165,7 +165,7 @@ action:
165165
"tags" : {
166166
167167
},
168-
"slaveDelay" : NumberLong(0),
168+
"secondaryDelaySecs" : NumberLong(0),
169169
"votes" : 1
170170
},
171171
{
@@ -178,7 +178,7 @@ action:
178178
"tags" : {
179179
180180
},
181-
"slaveDelay" : NumberLong(0),
181+
"secondaryDelaySecs" : NumberLong(0),
182182
"votes" : 1
183183
}
184184

source/reference/command/replSetGetConfig.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ command run with :ref:`commitmentStatus: true
109109
"tags" : {
110110

111111
},
112-
"slaveDelay" : NumberLong(0),
112+
"secondaryDelaySecs" : NumberLong(0),
113113
"votes" : 1
114114
},
115115
{
@@ -122,7 +122,7 @@ command run with :ref:`commitmentStatus: true
122122
"tags" : {
123123

124124
},
125-
"slaveDelay" : NumberLong(0),
125+
"secondaryDelaySecs" : NumberLong(0),
126126
"votes" : 1
127127
},
128128
{
@@ -135,7 +135,7 @@ command run with :ref:`commitmentStatus: true
135135
"tags" : {
136136

137137
},
138-
"slaveDelay" : NumberLong(0),
138+
"secondaryDelaySecs" : NumberLong(0),
139139
"votes" : 1
140140
}
141141
],

source/reference/method/db.printSlaveReplicationInfo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ with two secondary members:
4545

4646
A :ref:`delayed member <replica-set-delayed-members>` may show as ``0``
4747
seconds behind the primary when the inactivity period on the primary is
48-
greater than the :rsconf:`members[n].slaveDelay`
48+
greater than the :rsconf:`members[n].secondaryDelaySecs`
4949
value.

0 commit comments

Comments
 (0)