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

index_secondary_wait_for_commit.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
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2020-11-02
    • 21

      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@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: