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

rollbackViaRefetch should survive attempt to drop non-existent collection

    • Fully Compatible
    • ALL
    • v4.0
    • Repl 2019-03-11, Repl 2019-03-25, Repl 2019-04-08, Repl 2019-04-22
    • 10

      If rollbackViaRefetch attempts to drop a collection and it does not exist (for example, because it was dropped by a previous rollback attempt), the rollback will fail. This is because we look up the namespace of the collection by UUID. If the collection does not exist, we use the empty string for the namespace. Then we attempt to acquire a database lock with an empty namespace, which fails.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: