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
318
318
* - :manual:`isMaster </reference/command/isMaster>`
319
319
320
320
- The response always returns a document in which
321
- ``isMaster: true``. It also returns operational parameters.
321
+ ``isMaster: true``. It also returns operational parameters.
322
322
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``.
325
335
326
336
Administration Commands
327
337
-----------------------
You can’t perform that action at this time.
0 commit comments