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

Create config.transactions partial index in setFCV

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc8, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30
    • 169

      The partial secondary index needed for retryable transactions is created on step up to primary after creating the config.transactions collection for the first time, but this is skipped if the collection already exists. Thus if the collection already exists and the index wasn't initially created, the index will never be created. Creating an index on an existing collection is too expensive to do on transition to primary, and instead should be done as part of setFCV.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: