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

Wait for deletes to apply on secondaries in internal_sessions_reaping_retryable_writes.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
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0
    • Cluster Scalability 2024-07-22
    • 0

      jstests/replsets/internal_sessions_reaping_retryable_writes.js tests session reaping logic by manually deleting config.system.session entries and expecting subsequent session reap jobs to observe its effect (e.g. here). The test uses a 2 node replica set and the default write concern of majority, which used to guarantee the local read used by the session reap would observe the deletes, but now that we replicate oplog entries separately from applying them, we aren't guaranteed that, which can lead to failures. The test should be fixed to wait for its deletes to apply on all nodes before continuing.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: