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

Fix index_secondary_wait_for_abort.js assertIndexes race

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-09-04, Execution EMEA Team 2023-09-18
    • 35

    Description

      The test originally relied on the primary detecting an index inconsistency and aborting the index build from within the builder thread and replicating to the secondary. Which is why waitForIndexBuildToStop + awaitForReplication + assertIndexes guaranteed the assert on secondary would work. After graceful index builds, the secondary initiates an abort command on the primary, the index builder thread is killed, and the abort is external. So the above does not apply anymore.

      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: