SERVER-48419 adds minimal support for recovering resumable index builds after rollback (recover to timestamp). This ticket follows up on that work to include resuming index builds interrupted during the "drain writes" phase.
is related to
SERVER-39458Add continuous draining on secondary's index build thread while it awaits a commitIndexBuild oplog entry
SERVER-48419Extend rollback to recover resumable index builds efficiently
SERVER-51255rollback persists resumable index info before index build thread is cleaned up