[DOCS-15860] [SERVER] Investigate changes in SERVER-72677: Full validation doesn't always report information about indexes Created: 31/Jan/23  Updated: 13/Nov/23  Resolved: 28/Feb/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.3.0-rc0, 5.0.15, 4.4.19, 6.0.5, 6.2.1, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Joseph Dougherty
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by DOCS-15942 Backport Investigate changes in SERVE... Closed
Documented
documents SERVER-72677 Full validation doesn't always report... Closed
Duplicate
is duplicated by DOCS-15897 [SERVER][BACKPORT] [v6.2] Full valida... Closed
Participants:
Days since reply: 51 weeks, 2 days ago

 Description   
Original Downstream Change Summary

Our documentation for the validate command has an inaccuracy: https://www.mongodb.com/docs/manual/reference/command/validate/#mongodb-data-validate.nIndexes

The nIndexes response parameter reads "The number of indexes on the collection." but that's not entirely correct. A more accurate description would be "The number of indexes that were validated."

This docs change will need to be backported all the way through v4.2.

Description of Linked Ticket

If the collection portion of full validation reports errors, we return early from the command after also doing the index portion of full validation. However, since we have't yet populated the indexes map, any index information (including warnings, errors, or even simply number of indexes) will not be reported in the validate results.



 Comments   
Comment by Dave Cuthbert (Inactive) [ 13/Feb/23 ]

DOCS-15897 was opened for v6.2.1 backport. Closing that one as a dup, please backport when this one is ready.

Generated at Thu Feb 08 08:14:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.