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

modify StorageTimestampTests::InitialSyncSetIndexMultikeyOnInsert to build indexes in foreground

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.9
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2019-03-11
    • 10

    Description

      In recent weeks, the test StorageTimestampTests::InitialSyncSetIndexMultikeyOnInsert has been failing intermittently with the following invariant message:

      [repl-index-builder-1] Invariant failure !mySnapshot || *mySnapshot <= commitTimestamp commit timestamp Timestamp(1, 87) cannot be older than current read timestamp Timestamp(1, 92) src/mongo/db/catalog/index_timestamp_helper.cpp 88
      

      Since the intent of the test case is not to test background/hybrid builds, it should be fine to have this test build its indexes in the foreground until we get a better understanding why this test is not interacting well with background/hybrid index builds.

      A TODO comment in the code should mention SERVER-39982.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: