[SERVER-82278] validate command can report indexDetails valid:True even if indexes have not fully been checked Created: 17/Oct/23  Updated: 06/Feb/24

Status: Open
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: storex-ranked
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Operating System: ALL
Participants:

 Description   

Filing this ticket per a discussion with max.hirschhorn@mongodb.com. Currently, validate returns either True or False. In certain scenarios where there are structural errors with collections/indexes preventing inspection of those collections/indexes, indexDetails valid can be reported as True, even if the validation has not confirmed that all results are valid (the overall result of validate is still False in this case). It should be noted that folks familiar with Server logic who are reviewing the validation results can spot this discrepancy and act accordingly, but it's not obvious to those unfamiliar with the logic.

This ticket is to evaluate whether it makes sense (and whether the benefits outweigh the costs) to introduce a third response from validate, e.g., "Unverified", to capture the case where validation completes, but not all collections and indexes have been scanned. This would likely have some downstream impact.


Generated at Thu Feb 08 06:48:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.