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

Avoid WriteUnitOfWork in index build collection scan loop

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.6, 4.4.0-rc1, 4.5.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-04-20
    • Linked BF Score:
      0

      Description

      This WUOW is not necessary for hybrid index builds because we insert all keys into the external sorter, which is not part of the storage engine.

      We could improve index build performance by not having to open and close a storage transaction every iteration.

      This fixes a perf regression introduced by SERVER-44577.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              louis.williams Louis Williams
              Reporter:
              louis.williams Louis Williams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: