Skip to content

Commit 26abb5c

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15364 invalid documents (BACKPORT) (#1519)
* DOCS-15333-dbhash-locking (#1473) Co-authored-by: jason-price-mongodb <[email protected]> * DOCS-15333-dbhash-locking * DOCS-15333-dbhash-locking * DOCS-15333-dbhash-locking * Docs-15364 invalid documents (#1450) * DOCS-15364-invalid-documents * DOCS-15364-invalid-documents * DOCS-15364-invalid-documents * DOCS-15364-invalid-documents Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 90bf527 commit 26abb5c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source/reference/command/validate.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,13 @@ Specify :ref:`full: true <cmd-validate-full>` for more detailed output.
185185

186186
.. data:: validate.nInvalidDocuments
187187

188-
The number of invalid documents in the collection.
188+
The number of invalid documents in the collection. Invalid documents
189+
are those that are not readable, which means the :term:`BSON`
190+
document is corrupt and has an error or a size mismatch.
191+
192+
Non-compliant documents are those that do not conform to the
193+
collection's schema. Non-compliant documents are not counted as
194+
invalid in :data:`~validate.nInvalidDocuments`.
189195

190196
.. data:: validate.nrecords
191197

0 commit comments

Comments
 (0)