Skip to content

DOCS-14821 Adding metadata flag context to validate() #6067

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

Conversation

ianf-mongodb
Copy link
Contributor

No description provided.

@@ -29,7 +29,8 @@ The repair fixes these issues:
- If corrupt documents with invalid BSON data are found, the documents
are removed.

.. seealso:: :option:`--repair <mongod --repair>` option for
:binary:`~bin.mongod`
.. seealso::
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI : This was a fix for a see also directive that was showing empty on the page. Cleaned up with this effort.


db.runCommand( { collMod: <collectionName> } )

.. versionadded:: 5.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ianf-mongodb , this looks like it's only available in 5.0.4. I think we need to be explicit about that, otherwise users running 5.0.3 might expect this feature.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to ".. versionadded:: 5.0.4"

@@ -761,6 +761,14 @@ The :dbcommand:`validate` command and :method:`db.collection.validate()`
helper method also return a new :data:`~validate.repaired` boolean value
that is ``true`` if the collection was repaired.

Metadata Option Added for ``validate`` Command
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this isn't applicable to all minor versions of 5.0 (it's 5.0.4+), we should put this in the 5.1 release notes and say:

"Starting in MongoDB 5.1 (and MongoDB 5.0.4), ..."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and moved to 5.1 notes

@ianf-mongodb ianf-mongodb force-pushed the DOCS-14821-validate-metadata-flag-added branch from 553848c to eba1f35 Compare November 1, 2021 18:21
@jeff-allen-mongo jeff-allen-mongo merged commit 2405b95 into mongodb:master Nov 1, 2021
mongo-cr-bot pushed a commit that referenced this pull request Jan 30, 2024
#6067)

* DOCSP-16072 doc for new Search Sequential Pagination attribute (#5833)

* DOCSP-16072 doc for new Search Sequential Pagination attribute

* Update source/includes/fact-meta-syntax.rst

Co-authored-by: Jeff Allen <[email protected]>

* DOCSP-16072 fix for broken link

---------

Co-authored-by: Jeff Allen <[email protected]>

* DOCSP-36042 add minor version

* Update source/includes/fact-meta-syntax.rst

Co-authored-by: Jeff Allen <[email protected]>

---------

Co-authored-by: Jeff Allen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants