Do not drop index build temp tables on clean shutdown

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: Backlog
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2020-06-15
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The side writes table and constraint violations table must survive clean shutdown when index builds are interrupted.

      SERVER-39703 is going to add a IndexBuildBlock::deleteTemporaryTables() function and always drop the tables. This ticket must optionally call the function – e.g. not for clean shutdown when index builds are interrupted via MultiIndexBlock::abortWithoutCleanup; and also must handle the tables on startup so that we do not pile up orphaned tables – SERVER-39003 made it so that they won't be dropped on startup if they exist.

            Assignee:
            Gregory Noma
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: