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

Dropping an index invalidates all cursors on that collection, not just ones using that index.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Index Maintenance
    • None
    • Query 2019-01-28
    • 4

    Description

      When you drop an index, we invalidate all open cursors on the collection that that index was on. It would be better if we could detect which cursors are using the index and only invalidate those cursors.

      Per SERVER-8975 this occurs even if the index to be dropped does not exist.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: