When resumable index builds are enabled (see
SERVER-49847), the replica_sets_kill_secondaries_jscore_passthrough test suite regularly times out. The logs indicate that there are resumable index builds stuck waiting for the majority commit point before scanning the collection.
The majority wait functionality was added in
SERVER-48476 to support rolling back a resumable index build.