[SERVER-57795] index_build_restart_standalone.js should ensure that checkpoints include start of index builds Created: 17/Jun/21  Updated: 29/Oct/23  Resolved: 22/Jun/21

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

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

Issue Links:
Depends
Related
is related to SERVER-37637 Standalone mode nodes should ignore i... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-06-28
Participants:
Linked BF Score: 147

 Description   

This test expects to recover from a point of the oplog that includes the startIndexBuild oplog entries. Without an explicit call to force checkpoints in the test, this may not always happen, especially on slow machines.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 21/Jun/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-57795 index_build_restart_standalone.js takes checkpoints before stopping replica set

This ensures that we will recover from a time on startup that includes the startIndexBuild
operation on a non-empty collection.
Branch: master
https://github.com/mongodb/mongo/commit/fe80b0ac75231e74deea966b9eee833910e67dcd

Comment by Benety Goh [ 17/Jun/21 ]

Forcing explicit checkpoints will bring the test closer to the original intent of this test when it was added in SERVER-37637.

Generated at Thu Feb 08 05:42:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.