Skip to content

Commit 94e914a

Browse files
jmd-mongojeff-allen-mongo
authored andcommitted
DOCS-14640 removes deprecated slaveOk option
1 parent a14bbc3 commit 94e914a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

source/mongoexport.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -750,19 +750,6 @@ Options
750750
See :ref:`mongoexport-noHeaderLine-example` for sample usage.
751751

752752

753-
.. option:: --slaveOk, -k
754-
755-
Sets the :ref:`replica-set-read-preference` to :readmode:`nearest`,
756-
allowing :binary:`~bin.mongoexport` to read data from secondary
757-
:term:`replica set` members.
758-
759-
:option:`--readPreference` replaces ``--slaveOk`` in MongoDB 3.2. You cannot
760-
specify ``--slaveOk`` when :option:`--readPreference` is specified.
761-
762-
.. include:: /includes/warning-read-preference-mongos.rst
763-
764-
765-
766753
.. option:: --readPreference=<string|document>
767754

768755
*Default*: :readmode:`primary`

0 commit comments

Comments
 (0)