[SERVER-81166] Add dropped collection/index and newly created view tests for extra index keys check Created: 18/Sep/23  Updated: 30/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: pm-855-milestone-5
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

Similar to dbcheck_dropped_collection.js for the data consistency check we should make sure the behavior for dropped collections and then newly created collections/views with the same name has the correct behavior.

We should also make sure that all the IndexNotFound checks are correct (in dbcheck_extra_index_keys.js)As part of this we should investigate potentially refactoring the code to only check for the IndexNotFound/NamespaceNotFound/CommandNotSupportedOnView errors in one place/propogate it all up to one location, since right now in the extra index keys path we check for IndexNotFound in many locations.
^ putting this in SERVER-79850


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