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

Make preimage truncate tests wait until the stable timestamp is set

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • CAR Team 2024-01-08, CAR Team 2024-01-22
    • 5

    Description

      The current preimage truncation tests currently perform inserts followed by awaitReplication before restarting the node after a checkpoint.

      However, if the node is slow and doesn't have enough time to update the stable timestamp between awaitReplication and the checkpoint then the test will fail since some preimage insertions will be rolled back during restart as the checkpoint was made for the previous stable timestamp.

      We should add support for waiting until the stable timestamp is propagated across all nodes and update the test to wait after replication that the timestamp is propagated as well.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: