[SERVER-43149] replicated index builds on empty collections should emit startIndexBuild and commitIndexBuild oplog entries Created: 04/Sep/19  Updated: 29/Oct/23  Resolved: 09/Sep/19

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

Type: Task 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:
Related
related to SERVER-43323 replicated index builds not writing s... Closed
related to SERVER-43295 Secondaries should start index build ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-09-09
Participants:

 Description   

The IndexBuildsCoordinator handles index builds on primary and secondary nodes in the majority of use cases. However, there are a few cases where we also create indexes that do not use the IndexBuildsCoordinator. These cases include:

  • Renaming a collection across databases
  • Copying indexes from an existing output collection for MapReduce
  • Cloning a collection during chunk migration (MigrationDestinationManager)


 Comments   
Comment by Githook User [ 09/Sep/19 ]

Author:

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

Message: SERVER-43149 MigrationDestinationManager emits startIndexBuild and commitIndexBuild during collection clone
Branch: master
https://github.com/mongodb/mongo/commit/2947c796a6ed3ce61d4420744feec10c2cff6fde

Comment by Githook User [ 08/Sep/19 ]

Author:

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

Message: SERVER-43149 map reduce emits startIndexBuild and commitIndexBuild when copying indexes from existing output collection
Branch: master
https://github.com/mongodb/mongo/commit/f0ce9bac25e030964ad9b6acd26d9931cfe3d099

Comment by Githook User [ 08/Sep/19 ]

Author:

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

Message: SERVER-43149 rename across dbs emits startIndexBuild and commitIndexBuild oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/3b021d5c31d27e6218ef05e32467b2e862f3999e

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