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

Rolling back a partially-committed collection creation transaction can cause catalog inconsistencies

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2020-02-24, Execution Team 2020-03-09
    • 48

      This scenario can cause catalog inconsistencies.

      Transaction 1 creates collection B
      Transaction 2 creates collection A
      Transaction 2 commits
      Transaction 1 creates collection A
      Transaction 1 attempts to commit, and fails due to conflicting creation of "A".

      The catalog inconsistency results because as we apply the commit of transaction 1, we register collection B in the catalog before finding out that collection A failed to be registered. We do not currently have rollback handling to roll back the registration of collection B.

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: