Skip to content

Commit 328c745

Browse files
committed
DOCS-11851: backport syncSourcHost fields to rs status output
1 parent 52d86ee commit 328c745

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

source/reference/command/replSetGetStatus.txt

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -204,40 +204,40 @@ following fields:
204204
member. The :data:`~replSetGetStatus.term` is used by the
205205
distributed consensus algorithm to ensure correctness.
206206

207-
.. data:: replSetGetStatus.syncingTo
207+
.. data:: replSetGetStatus.syncingTo
208208

209-
.. deprecated:: 4.0
209+
.. deprecated:: 4.0, 3.6.6, 3.4.16
210210

211-
Starting in MongoDB 4.0, MongoDB deprecates
212-
:data:`~replSetGetStatus.syncingTo`. See
213-
:data:`replSetGetStatus.syncSourceHost` instead.
211+
Starting in MongoDB 4.0 (and 3.6.6, 3.4.16), MongoDB deprecates
212+
:data:`~replSetGetStatus.syncingTo`. See
213+
:data:`replSetGetStatus.syncSourceHost` instead.
214214

215-
The ``syncingTo`` field holds the hostname of the member from
216-
which this instance syncs. If this instance is a primary, returns
217-
an empty string ``""``.
215+
The ``syncingTo`` field holds the hostname of the member from
216+
which this instance syncs. If this instance is a primary, returns
217+
an empty string ``""``.
218218

219-
.. data:: replSetGetStatus.syncSourceHost
219+
.. data:: replSetGetStatus.syncSourceHost
220220

221-
.. versionadded:: 4.0
221+
.. versionadded:: 4.0, 3.6.6, 3.4.16
222222

223-
The :data:`~replSetGetStatus.syncSourceHost` field holds the
224-
hostname of the member from which this instance syncs.
223+
The :data:`~replSetGetStatus.syncSourceHost` field holds the
224+
hostname of the member from which this instance syncs.
225225

226-
If this instance is a primary,
227-
:data:`~replSetGetStatus.syncSourceHost` is an empty string and
228-
the :data:`~replSetGetStatus.syncSourceId` ``-1``.
226+
If this instance is a primary,
227+
:data:`~replSetGetStatus.syncSourceHost` is an empty string and
228+
the :data:`~replSetGetStatus.syncSourceId` ``-1``.
229229

230-
.. data:: replSetGetStatus.syncSourceId
230+
.. data:: replSetGetStatus.syncSourceId
231231

232-
.. versionadded:: 4.0
232+
.. versionadded:: 4.0, 3.6.6, 3.4.16
233233

234-
The :data:`~replSetGetStatus.syncSourceId` field holds the
235-
:data:`replSetGetStatus.members[n]._id` of the member from which
236-
this instance syncs.
234+
The :data:`~replSetGetStatus.syncSourceId` field holds the
235+
:data:`replSetGetStatus.members[n]._id` of the member from which
236+
this instance syncs.
237237

238-
If this instance is a primary,
239-
:data:`~replSetGetStatus.syncSourceHost` is an empty string and
240-
the :data:`~replSetGetStatus.syncSourceId` ``-1``.
238+
If this instance is a primary,
239+
:data:`~replSetGetStatus.syncSourceHost` is an empty string and
240+
the :data:`~replSetGetStatus.syncSourceId` ``-1``.
241241

242242
.. data:: replSetGetStatus.heartbeatIntervalMillis
243243

@@ -455,9 +455,9 @@ following fields:
455455

456456
.. data:: replSetGetStatus.members[n].syncingTo
457457

458-
.. deprecated:: 4.0
458+
.. deprecated:: 4.0, 3.6.6, 3.4.16
459459

460-
Starting in MongoDB 4.0, MongoDB deprecates
460+
Starting in MongoDB 4.0 (and 3.6.6, 3.4.16), MongoDB deprecates
461461
:data:`~replSetGetStatus.members[n].syncingTo`. See
462462
:data:`replSetGetStatus.members[n].syncSourceHost` instead.
463463

@@ -467,7 +467,7 @@ following fields:
467467

468468
.. data:: replSetGetStatus.members[n].syncSourceHost
469469

470-
.. versionadded:: 4.0
470+
.. versionadded:: 4.0, 3.6.6, 3.4.16
471471

472472
The :data:`~replSetGetStatus.members[n].syncSourceHost` field
473473
holds the hostname of the member from which this instance syncs.
@@ -479,7 +479,7 @@ following fields:
479479

480480
.. data:: replSetGetStatus.members[n].syncSourceId
481481

482-
.. versionadded:: 4.0
482+
.. versionadded:: 4.0, 3.6.6, 3.4.16
483483

484484
The :data:`~replSetGetStatus.members[n].syncSourceId` field holds
485485
the :data:`replSetGetStatus.members[n]._id` value of the

0 commit comments

Comments
 (0)