[SERVER-37763] Make it possible to abort index builds Created: 26/Oct/18  Updated: 29/Oct/23  Resolved: 21/Nov/18

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Benety Goh
Resolution: Fixed 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-37726 Make dropIndexes abort in-progress in... Closed
Related
related to SERVER-37906 Unit test MultiIndexBlock (index buil... Closed
is related to SERVER-37951 Break index builds into phases and ad... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-11-19, Storage NYC 2018-12-03
Participants:

 Description   

Add an abort function to the MultiIndexBlock; and abort functions to the index builds interface so that external operations can abort index builds by builder UUID or list of index names.



 Comments   
Comment by Githook User [ 21/Nov/18 ]

Author:

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

Message: SERVER-37763 add support for aborting MultiIndexBlock index builds
Branch: master
https://github.com/mongodb/mongo/commit/f8de654b888ef3b9a9f210499b0b8f5d727dfffd

Comment by Githook User [ 21/Nov/18 ]

Author:

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

Message: SERVER-37763 MultiIndexBlock::commit() returns Status

This allows MultiIndexBlock to support aborting index builds.
Branch: master
https://github.com/mongodb/mongo/commit/74e5e8949bcc62bde1f1455b463fc89f07649ead

Comment by Githook User [ 20/Nov/18 ]

Author:

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

Message: SERVER-37763 make MultiIndexBlock work with LockerNoop
Branch: master
https://github.com/mongodb/mongo/commit/b6ed88dc8f2036ead73b6ff3806092301ae70e22

Comment by Githook User [ 20/Nov/18 ]

Author:

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

Message: SERVER-37763 extend CollectionMock to support MultiIndexBlock unit testing

Constructor accepts IndexCatalog
CollectionMock::uuid() returns random value
Branch: master
https://github.com/mongodb/mongo/commit/6704d85ca26ebf6db2577831b1411dd6ae88325c

Comment by Githook User [ 20/Nov/18 ]

Author:

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

Message: SERVER-37763 add IndexCatalogNoop
Branch: master
https://github.com/mongodb/mongo/commit/ecaf5d206c0ac6dc7d57cd514af0603225b8c876

Comment by Githook User [ 20/Nov/18 ]

Author:

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

Message: SERVER-37763 remove redundant header comments from MultiIndexBlockImpl
Branch: master
https://github.com/mongodb/mongo/commit/d7be523cfa127d5fcd7703a38e469f6e50cea290

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