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

Add tests to ensure commands complete successfully on dropped collections

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None

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

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: