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

retrieve resumable index build information before stopping index builds for rollback

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

      At the beginning of the rollback process, the server stops all in-progess index builds. This is done in both rollback algorithms - Recover to a Timestamp and rollbackViaRefetch.

      In order to resume an index build without restarting the index build from the beginning, the Recover to a Timestamp algorithm needs additional information from the IndexBuildsCoordinator on the current state of each in-progress index build. This information will be the same information as what is currently written to disk on a clean shutdown for index builds.

      The Recover to a Timestamp rollback algorithm should be able to report the state of each interrupted index build before it starts the actual rollback process. We will use this information to change how rollbacks work for interrupted index builds in SERVER-48419.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: