Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40887

IndexCatalog::getAndClearUnfinishedIndexes is unused and should be deleted

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • Execution Team 2019-06-17

      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.

            Assignee:
            gabe.villasana@mongodb.com Gabriel Villasana (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: