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

Index builds abort on step-up if key generation errors are found in SkippedRecordTracker

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-03-06, Execution Team 2023-03-20

    Description

      After SERVER-73330, index builds abort immediately when a key generation error is encountered, instead of waiting until commit time. Secondaries will still record those errors in the SkippedRecordTracker. To make this expectation true across replication state transitions, during step-up the new primary should check if any skipped records still result in a key generation error, and abort the index build if so.

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: