[SERVER-40887] IndexCatalog::getAndClearUnfinishedIndexes is unused and should be deleted Created: 29/Apr/19  Updated: 29/Oct/23  Resolved: 07/Jun/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: Dianna Hohensee (Inactive) Assignee: Gabriel Villasana (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-06-17
Participants:

 Description   

It looks like we take care of unfinished indexes before starting the index catalog by checking idents in StorageEngine::reconcileCatalogAndIdents. There are no callers of IndexCatalog::getAndClearUnfinishedIndexes anymore. The _unfinished field in IndexCatalogImpl should go away, too, and any relevant code. Invariants and comments are probably a good idea.



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

Author:

{'name': 'Gabe Villasana', 'email': 'gabe.villasana@mondodb.com'}

Message: SERVER-40887 Removed getAndClearUnfinishedIndexes and relevant code
Branch: master
https://github.com/mongodb/mongo/commit/8112bf02b0882765d82527b321ecf80061d2629c

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