[SERVER-39079] Add parallel IndexBuildsCoordinator checks wherever BackgroundOperation checks are done Created: 18/Jan/19  Updated: 29/Oct/23  Resolved: 24/Mar/19

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
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-39279 Race between ServiceContext::ClientDe... Closed
Problem/Incident
Related
related to SERVER-47182 Single-phase index builds should run ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-01-28, Storage NYC 2019-03-11, Storage NYC 2019-03-25
Participants:
Linked BF Score: 34

 Description   

As we move index builds behind the new interface, concurrent metadata operations must start checking the Coordinator for in progress index builds, to cover concurrency issues where the Coordinator does not immediately instantiate a builder that then instantiates a BackgroundOperation to block concurrent metadata operations.

The BackgroundOperation class will remain until everything is fully switched over to the new system. The IndexBuildsCoordinator has already implemented parallel checks to BackgroundOperation, just need to start using them and link the interface in all the places required.



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

Author:

{'email': 'dianna.hohensee@10gen.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}

Message: SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks
Branch: master
https://github.com/mongodb/mongo/commit/85126f13b5b26700cb9dc869df3ad747515e6a25

Comment by Githook User [ 12/Mar/19 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee'}

Message: Revert "SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks"

This reverts commit d02edd5290131978f901ffc657bee3470d03f8fd.
Branch: master
https://github.com/mongodb/mongo/commit/83fa6e3879ab93549824fff82cab7030869563d0

Comment by Githook User [ 11/Mar/19 ]

Author:

{'name': 'Dianna Hohensee', 'username': 'DiannaHohensee', 'email': 'dianna.hohensee@10gen.com'}

Message: SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks
Branch: master
https://github.com/mongodb/mongo/commit/d02edd5290131978f901ffc657bee3470d03f8fd

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