[SERVER-37644] Make the createIndexes command join already in-progress index builds Created: 15/Oct/18  Updated: 17/Apr/20  Resolved: 26/Feb/20

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Gregory Wlodarek
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-39323 Don't consider in-progress indexes wh... Closed
Related
related to SERVER-47378 Complete TODO listed in SERVER-37644 Closed
is related to SERVER-40926 createIndexes should return IndexBuil... Closed
is related to SERVER-40927 createIndexes should wait for indexes... Closed
Sprint: Storage NYC 2018-12-17, Storage NYC 2018-12-31, Storage NYC 2019-01-14, Execution Team 2020-03-09
Participants:
Story Points: 5

 Description   

Depends on SERVER-37643 to move all index builds behind the index build interface established in SERVER-37636.

The createIndexes command should check whether the index(es) is already being built and wait upon it if so. A new waiting function must be added to the index build interface.

An appropriate error message should be returned if: commitQuorum does not match that of the in-progress index build; the indexes and specs do not match identically those in a single index builder.

Note that there can be multiple indexes with the same key pattern but different collations (SERVER-24239)



 Comments   
Comment by Githook User [ 17/Apr/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-47378 Resolve TODO for SERVER-37644
Branch: master
https://github.com/mongodb/mongo/commit/9f01b5403b3eb01f4d8f437fe0ef99910130b7cc

Comment by Gregory Wlodarek [ 26/Feb/20 ]

Marking as done. SERVER-40926 and SERVER-40927 implemented the scope goals for createIndexes and SERVER-38562, which is in code review, will handle the commitQuorum requirement for createIndexes.

Comment by Benety Goh [ 19/Feb/20 ]

Behavior described in this ticket may already have been partially implemented in SERVER-40926 and SERVER-40927. See the JS test create_indexes_waits_for_already_in_progress.js

Comment by Dianna Hohensee (Inactive) [ 15/Feb/19 ]

Circle back to SERVER-39323 when this work is committed.

Comment by Dianna Hohensee (Inactive) [ 25/Jan/19 ]

In case I forgot: commitQuorum must be identical in joining request.

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