Fix index_secondary_wait_for_abort.js assertIndexes race

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-09-04, Execution EMEA Team 2023-09-18
    • 35
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Yujin Kang Park
            Reporter:
            Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: