Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11700

Docs for SERVER-30818: Wait for any running background index builds to finish before starting rollback

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.2
    • Affects Version/s: None
    • Component/s: None

      Description:

      No documentation summary in engineering ticket

      Scope of changes:

      • replica-set-rollbacks
      • 4.0.txt
      • core/index-creation
      • faq/indexes (not really)

      Impact to other docs outside of this product:

      none (per marian search)

      MVP:

      Resources:

      Engineering Ticket Description:

      Writes for an initial index build aren't timestamped, so when we call recoverToStableTimestamp, the index data for any in-progress index builds won't be reverted so may contain references to records that no longer exist. Therefore we should wait for any running background index builds to complete before starting rollback, so that we won't try to call recoverToStableTimestamp in the middle of this index build.

      SERVER-30911 will timestamp the catalog changes that represent the intent to build an index. After calling recoverToStableTimestamp, storage will build all ready: false indexes before returning.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 46 weeks, 6 days ago