[SERVER-61688] Add tests to ensure commands complete successfully on dropped collections Created: 22/Nov/21  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Alya Berciu Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

In SERVER-60533 tests were added to make sure the distinct command correctly executes without error when executing in a sharded context on a collection that has just been dropped. We should make sure we have such tests for at least the aggregate and find commands, e.g. when running on a sharded cluster, we should add tests to make sure the following executes without error.

db.coll.drop()
db.coll.findOne()


Generated at Thu Feb 08 05:53:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.