[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: |
|
||||
| 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: GitOrigin-RevId: d631e9fc086bae68d4a1470a8b9dca782fa75811 |