command

MongoDB migration runner options

--database-url <url> --allow-insecure-database --allow-maintenance --allow-unbounded --advisory-lock-wait <duration> --concurrent-index-timeout <duration>

MongoDB operational admissions and bounds accepted by migrate up and verify.

--allow-maintenance requires every application process and worker to remain stopped through completion and retries.

--advisory-lock-wait bounds acquisition of the fenced migration lease; --concurrent-index-timeout bounds the complete MongoDB migration operation. Zero selects bounded defaults unless --allow-unbounded is explicit, and lease expiry remains bounded.

MongoDB rejects the PostgreSQL-only --lock-timeout, --statement-timeout, --batch-timeout, --idle-in-transaction-timeout, --stop-after-phase, and --stop-after-step controls. Interrupted work resumes from the checksum-bound durable step ledger.