[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: |
|
||||||||||||||||
| 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: |
| 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 |