[SERVER-41848] minimum_visible_with_cluster_time.js fails with IndexBuildsCoordinator Created: 20/Jun/19  Updated: 29/Oct/23  Resolved: 24/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.1

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
is depended on by SERVER-39454 Move createIndexes command fully onto... Closed
Related
related to SERVER-41766 Secondary may encounter prepare confl... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-07-01
Participants:

 Description   

When the IndexBuildsCoordinator is enabled for the createIndexes command, the JS test jstests/replsets/minimum_visible_with_cluster_time.js sometimes hangs in the ReplicationCoordinatorImpl::waitUntilSnapshotCommittedd() function. When the hang occurs, the _currentCommittedSnapshot value gets stuck at the timestamp as the createIndexes oplog entry and the untilSnapshot.



 Comments   
Comment by Githook User [ 24/Jun/19 ]

Author:

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

Message: SERVER-41848 disable ghost commit timestamps for index builds on primary nodes
Branch: master
https://github.com/mongodb/mongo/commit/710be037cc2817f066c41bb0140f397f5b703a82

Comment by Louis Williams [ 21/Jun/19 ]

We should only be performing "ghost writes" on secondaries. See https://github.com/mongodb/mongo/blob/f33b9e5ce5a3d2cebb7a3987823818b16239470b/src/mongo/db/catalog/index_builds_manager.cpp#L253

Generated at Thu Feb 08 04:58:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.