Skip to content

Commit 60be7ad

Browse files
DOCSP-14925 Change isMaster to hello (#131)
* DOCSP-14925 Change isMaster to hello * DOCSP-14925 updates for external review feedback
1 parent 2e635e3 commit 60be7ad

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

source/supported-unsupported/mql-support.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,20 @@ Replication Commands
318318
* - :manual:`isMaster </reference/command/isMaster>`
319319

320320
- The response always returns a document in which
321-
``isMaster: true``. It also returns operational parameters.
321+
``isMaster: true``. It also returns operational parameters.
322322

323-
The optional saslSupportedMechs field set to the <db.user> is
324-
supported.
323+
The optional ``saslSupportedMechs`` field set to the
324+
``<db.user>`` is supported.
325+
326+
.. note:: About the ``hello`` Command
327+
328+
{+adl+} also supports the ``hello`` command, which is an
329+
alias for the ``isMaster`` command. The ``hello`` command
330+
returns a document that is identical to the document
331+
returned by the ``isMaster`` command. In the document
332+
returned by the ``hello`` command, the ``isWritablePrimary``
333+
field is set to ``true`` instead of the ``isMaster`` field.
334+
We recommend the ``hello`` command instead of ``isMaster``.
325335

326336
Administration Commands
327337
-----------------------

0 commit comments

Comments
 (0)