[SERVER-38027] Partially turn on hybrid index builds for background, non-unique indexes Created: 08/Nov/18  Updated: 29/Oct/23  Resolved: 29/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Task Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-37263 New IAM for hybrid Closed
depends on SERVER-38187 Ability to create a temporary RecordS... Closed
is depended on by SERVER-37264 Replace BG index build logic with new... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-11-19, Storage NYC 2018-12-03
Participants:
Linked BF Score: 0

 Description   

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.)


 Comments   
Comment by Githook User [ 29/Nov/18 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-38027 SERVER-37268 Partially enable hybrid index builds for background, non-unique indexes. Change background index builds to use the bulk builder and external sorter
Branch: master
https://github.com/mongodb/mongo/commit/ca1cccb8a18be76c584f587e04b14512e59d8424

Generated at Thu Feb 08 04:47:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.