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

modify StorageTimestampTests::InitialSyncSetIndexMultikeyOnInsert to build indexes in background

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-03-25
    • 10
    • 5

      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
      

      A workaround is proposed in SERVER-39981.

      However, we should investigate why this test case does not pass consistently with background/hybrid index builds and determine if there is an underlying issue in the index build machinery.

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

              Created:
              Updated:
              Resolved: