Resumable index builds currently wait indefinitely for the majority commit point before starting the collection scan. The underlying ReplicationCoordinator function supports an optional deadline to limit the waiting period and it would be useful to extend resumable index builds with a configurable deadline for the majority wait with a reasonably short default duration.
This also serves as a workaround for SERVER-50519.
- is related to
-
SERVER-50519 resumable index build hangs waiting for majority commit point in replica_sets_kill_secondaries_jscore_passthrough
- Closed
-
SERVER-48476 resumable index build should use majority read cursor for collection scan
- Closed
-
SERVER-49847 Turn on resumable index build feature by default
- Closed