Fix race condition in drop_unfinished_replicated_index_build_in_standalone.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test only waits for the index build to show in currentOp but IndexBuildCoordinator may not have registered in the catalog yet, which happens in MultiIndexBlock::init and more specifically in the call to CollectionImpl::prepareForIndexBuild(). Shutting the node down too early may lose the index build after restart.

            Assignee:
            Wei Hu
            Reporter:
            Wei Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: