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

rollbackViaRefetch should survive attempt to drop non-existent collection

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Repl 2019-03-11, Repl 2019-03-25, Repl 2019-04-08, Repl 2019-04-22
    • Linked BF Score:
      10

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            pavithra.vetriselvan Pavithra Vetriselvan
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: