Apply previous test fixes to similar patterns

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2026-08-31
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are 2 categories of fixes for DSC tests that this ticket will cover:

      1. Checking the tip of the oplog for a specific write
        1. SERVER-131011 and SERVER-133411 made similar changes
        2. If a background thread does a write before we check the oplog tip the test will fail, so apply this fix to other remaining places
        3. Fix is to filter the oplog on the entry we are expecting
      2. Pausing failpoint without confirming we hit it
        1. SERVER-126321 and SERVER-133455
        2. Calling configureFailpoint just sets the failpoint without making sure we have entered it
        3. For the failpoint hangInPrimaryReadLoop we check the failpoint at the top of the loop, so if we set it mid loop and don't wait then we can end up sending another batch of entries to the log service which messes up the test
        4. Fix is to call wait() on the failpoint before proceeding to confirm we have entered the failpoint

            Assignee:
            Sean Zimmerman
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: