File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
source/supported-unsupported Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff 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
326336Administration Commands
327337-----------------------
You can’t perform that action at this time.
0 commit comments