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

Add an initialization phase when tracking what stage index build is in

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Index Maintenance
    • None
    • Fully Compatible
    • Execution Team 2020-07-13

    Description

      As a part of SERVER-48416, we started tracking what phase of index build a node is in. We should separate out initializing the index build and the collection scan when tracking the phase. SERVER-48476 will add a wait before doing the collection scan for an index build, but during startup we currently don't have a way to know if that wait was completed successfully or not.

      Without differentiating whether the index build was before or after the wait during shutdown, startup recovery will proceed without trying to wait, which means that it may not be safe to resume the index build if the node later goes into rollback.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: