Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12375

Document that in 4.2, an index drop will no longer kill a query which is not using the index

      Description

      In all versions of MongoDB prior to 4.2, dropping an index on a particular collection would cause all active queries against that collection to be killed. See SERVER-3964. Work done by the query team's "all cursors globally managed" project has improved this behavior such that dropping an index only kills concurrent queries whose plan actually relies on that index. We may wish to document this improvement (possibly as part of the 4.2 release notes?). I've left a few additional details on SERVER-3964, but feel free to reach out directly to me if you have any questions or require additional information.

      Scope of changes

      • Update dropIndexes and its shell helper with the new behavior
      • Update the release note with the new behavior

       

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 10 weeks, 3 days ago