-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance, Replication
-
None
-
Storage Execution
On a secondary, a "foreground" (normal) index build could be done while still letting readers read. then we just swap in the index when it is ready with a very short write lock. that is, assuming here there are no other writers than the replication sync thread.
while the index build is in progress i'm assuming other ops would not be applied, so some lag would accumulate, but it would be nice to still be readable. thoughts?
- is duplicated by
-
SERVER-25168 Foreground index build blocks all R/W on ALL database on a sharded cluster with secondaryPreferred read preference
- Closed
- is related to
-
SERVER-6836 Allow index builds on secondaries with a "force" option.
- Closed
-
SERVER-2771 Background index builds on replica set secondaries
- Closed
-
SERVER-18301 Allow reads during foreground index builds
- Closed
- related to
-
SERVER-20328 Allow secondary reads while applying oplog entries
- Closed