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

Wait for stable timestamp to advance in index_build_restart_standalone.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2024-08-19
    • 0

      We need the stable timestamp to advance before shutdown so that on restart, we have a checkpoint with the expected state.

      The fix is probably something like replacing this:

      rst.awaitReplication(undefined, ReplSetTest.OpTimeType.LAST_DURABLE); 

      with this:

      rst.awaitLastStableRecoveryTimestamp(); 

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            brad.cater@mongodb.com Brad Cater
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: