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

Create config.transactions partial index in setFCV

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc8, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30
    • 169

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: