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

Add a background hook that induces lags on certain replication opTimes

    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-03-18, Repl 2024-04-01, Repl 2024-04-15, Repl 2024-04-29

      Write a background hook that induces lag between 1) lastApplied and lastWritten and 2) lastWritten and lastDurable. Run this in the background of suites that induce state transitions/failover.

      • We use the stopReplProducer in many tests that require pauses in replication. We should consider adding more granular failpoints to pause oplog writing, oplog application, and increase the journal flushing interval seconds to control the drift between lastApplied and lastWritten, and lastWritten and lastDurable.
      • Add these passthroughs to Antithesis following this documentation.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: