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

Do not drop index build temp tables on clean shutdown

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

      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@mongodb.com Gregory Noma
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: