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

Partially turn on hybrid index builds for background, non-unique indexes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.6
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-11-19, Storage NYC 2018-12-03
    • 0

      This ticket is to turn on (a degraded version) of hybrid index builds for background, non-unique indexes.

      Specifically:

      • On a background non-unique index build, install the interceptor that directs client writes to a side-table instead of directly going into the index.
      • If trivial, use the external sorter for the table scanning part of the index build. Otherwise, run the hybrid index build in a degraded mode where a bulk insert cursor is not used. The latter case is the expected outcome.
      • After the table scan completes, consume the side-table writes adding them back to the real index.
      • ??? (make sure the index catalog multikey state is correct)
      • Profit. (Complete the index build and remove the interceptor.)

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: