Skip to content

DOCS-4909 - removing noobjcheck from mongorestore and bsondump #2198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions source/includes/options-bsondump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ description: |
Validates each :term:`BSON` object before outputting it in :term:`JSON`
format. By default, {{program}} enables {{role}}.
For objects with a high degree of sub-document nesting,
{{role}} can have a small impact on performance. You can set
:option:`--noobjcheck` to disable object checking.
{{role}} can have a small impact on performance.

.. versionchanged:: 2.4
MongoDB enables {{role}} by default, to prevent any
Expand All @@ -48,13 +47,6 @@ description: |
optional: true
---
program: bsondump
name: noobjcheck
inherit:
name: noobjcheck
program: mongod
file: options-mongod.yaml
---
program: bsondump
name: type
directive: option
args: <=json|=debug>
Expand Down
10 changes: 1 addition & 9 deletions source/includes/options-mongorestore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ description: |
Forces {{program}} to validate all requests from clients
upon receipt to ensure that clients never insert invalid documents into
the database. For objects with a high degree of sub-document nesting,
{{role}} can have a small impact on performance. You can set
:option:`--noobjcheck` to disable object checking at run-time.
{{role}} can have a small impact on performance.

.. versionchanged:: 2.4
MongoDB enables {{role}} by default, to prevent any
Expand All @@ -227,13 +226,6 @@ description: |
optional: true
---
program: mongorestore
name: noobjcheck
inherit:
name: noobjcheck
program: mongod
file: options-mongod.yaml
---
program: mongorestore
name: drop
directive: option
args: null
Expand Down
2 changes: 0 additions & 2 deletions source/reference/program/bsondump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ Options

.. include:: /includes/option/option-bsondump-objcheck.rst

.. include:: /includes/option/option-bsondump-noobjcheck.rst

.. include:: /includes/option/option-bsondump-type.rst

.. include:: /includes/option/option-bsondump-pretty.rst
Expand Down
2 changes: 0 additions & 2 deletions source/reference/program/mongorestore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ Options

.. include:: /includes/option/option-mongorestore-objcheck.rst

.. include:: /includes/option/option-mongorestore-noobjcheck.rst

.. include:: /includes/option/option-mongorestore-drop.rst

.. include:: /includes/option/option-mongorestore-oplogReplay.rst
Expand Down