[SERVER-41847] replset1.js fails when IndexBuildsCoordinator is enabled Created: 20/Jun/19  Updated: 29/Oct/23  Resolved: 27/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-41844 add evergreen builder for createIndex... 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/replset1.js gets an unexpected result from the getLastError command. The OpTime is for the message epilog entry rather than the createIndexes command. This is likely because the createIndexes command is not updating the LastOp property on the ReplClientInfo after the IndexBuildsCoordinator finishes building the index.



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

Author:

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

Message: SERVER-41847 createIndexes updates last op before returning when using the IndexBuildsCoordinator
Branch: master
https://github.com/mongodb/mongo/commit/bbd57e549b42895d12511709447bf0a5eb09471c

Comment by Githook User [ 27/Jun/19 ]

Author:

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

Message: SERVER-41847 replset1.js dumps oplog entries before checking createIndexes oplog entry
Branch: master
https://github.com/mongodb/mongo/commit/a700238800aa2bf1e10c255337ec35373ffd2667

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