SERVER-134781ClosedWon't Do
Implement clean shutdown with drain-first teardown for the pipelined oplog applier
This ticket implements clean shutdown: on the batcher shutdown signal, the dispatcher stops pulling, performs a full drain, and threads are joined in the correct order. This ticket should include: * The batcher shutdown signal stopping the dispatcher and issuing a full drain: queues empty, in-flight FIFO empty, lastApplied published to the last dispatched op. * Join ordering: advancer joined before the workers. * The drain is the batcher-driven clean-shutdown path. A global-shutdown interrupt