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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Optimization

      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:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: