Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-61688

Add tests to ensure commands complete successfully on dropped collections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • QO 2024-05-13

      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()

            Assignee:
            philip.stoev@mongodb.com Philip Stoev
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: