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

list_indexes_with_build_uuids.js - IndexBuildTest.assertIndexes() sees different server state from IndexBuildTest.getIndexBuildOpId()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-11-02
    • 23

      The listIndexes command in list_indexes_with_build_uuids.js is run on the secondary after checking the db.currentOp() output. However, this command may read the catalog state before the secondary has completed applying the batch of oplog entries containing the startIndexBuild command. This will lead to the test not detecting the in-progress index build.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: