-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
Summary
Combine the best qualities of foreground and background index builds to make a new type of index build, replacing the current index build types.
Motivation
Foreground index builds hold an exclusive database lock for the duration of the build, without yielding. This is one of the few operations on the server to hold a lock for a long period of time, and this causes various problems with the system. However, foreground index builds produce more efficient index structures; we want to preserve this outcome in the new Hybrid Index Build.
Documentation
- depends on
-
SERVER-40926 createIndexes should return IndexBuildAlreadyInProgress errors
- Closed
- related to
-
SERVER-39323 Don't consider in-progress indexes when deciding whether or not to build an index under an intent lock
- Closed