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

Move removeIndex calls out of dropCollection in the DurableCatalog

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2020-07-27

      The removeIndex calls inside of dropCollection are unexpected. One caller path drops through DatabaseImpl drops indexes before calling; while another depends on dropCollection also dropping indexes.

      The removeIndex calls should be moved up a layer.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: