SERVER-138768Backlog
Prototype startup recovery and failover with staged writes and primary application
h2. Overview Prototype correct behavior across step-up, step-down, restart, and rollback for the new write path. h2. Scope of Work * Step-up: drain unapplied oplog, initialize the detector floor to lastApplied, then accept writes. * Step-down: stop accepting writes, stop/drain the primary applier, abort staged transactions. * Restart: replay through existing startup recovery. * Rollback of an unapplied oplog tail on a former primary. * One jstest per scenario. h2. Acceptance Criteria * Each sc