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

XMLWordPrintableJSON

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

      Most tests for index builds, such as index_secondary_wait_for_commit.js use the index_build.js test helper to detect the presence of index builds in the server. We have observed instances where IndexBuildTest.assertIndexes() fails to detect index builds (mostly like because of the operation time used for the read) that were detected by IndexBuildTest.getIndexBuildOpId(), which provides an explicit local read concern to the aggregation command.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: