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

Ensure that every node returns an $operationTime in ReplSetFixture

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • v8.0
    • Security 2024-08-05
    • 0

      In SERVER-92385, we made the ReplicaSetFixture wait until the keys for signing $clusterTime had landed in the db. However, there is still a lag between the keys appearing in the db and the keys getting picked up by the KeyCollectionCaches on each node in the replica set, and so the ReplicaSetFixture may still violate causal consistency guarantees if the keys do not appear in the cache in time.

      Make the ReplicaSetFixture wait for the $operationTime field to show up in a command response to ensure that nodes are ready to sign.

            Assignee:
            erin.mcnulty@mongodb.com Erin McNulty
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: