[SERVER-84405] Make preimage truncate tests wait until the stable timestamp is set Created: 22/Dec/23  Updated: 09/Jan/24  Resolved: 09/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: CAR Team 2024-01-08, CAR Team 2024-01-22
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-84405 Make preimage truncate test wait until the inserts are durable (#17763)

GitOrigin-RevId: d631e9fc086bae68d4a1470a8b9dca782fa75811
Branch: master
https://github.com/mongodb/mongo/commit/bf95ed7e9d03fdf19c9633a463c7c7565128a734

Generated at Thu Feb 08 06:54:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.