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

adjust startup to resume index build from phase 3 (catch up from side table)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2020-06-29, Execution Team 2020-07-27, Execution Team 2020-08-10, Execution Team 2020-08-24

      Description

      Currently, index builds are restarted from the beginning. To be able to resume an index build, we require the temporary tables used by the hybrid index build to be preserved on startup and the progress information in the internal index build table (one table per index build).

      This ticket implements the resumable index build logic for index builds that were shut down during the side table catch up phase. The internal ident for the index build should have the following phase:

      { _id: <build uuid>,
        phase: "drain writes",
        ...
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samy.lanka Samyukta Lanka
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: