Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Standby promotion + drain lifecycle admin endpoints.

These route handlers were carved out of handlers::health. The drain marker / engine-quiesce helpers are kept local here so the admin surface depends only on stable lower crates.

Functionsยง

admin_drain
admin_promote
Promote standby to active โ€” stops the replay loop and starts the engine.
admin_undrain
drain_status
resume_after_failed_drain_marker ๐Ÿ”’
send_engine_quiesce_action ๐Ÿ”’