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.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None
    • Query 2019-01-28
    • 4

      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.

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

              Created:
              Updated:
              Resolved: