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

Do not drop index build temp tables on clean shutdown

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • Backlog
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2020-06-15
    • 0

    Description

      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.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: