type

RunnerOptions

type RunnerOptions struct { AllowMaintenance bool AllowUnbounded bool LeaseWait time.Duration LeaseDuration time.Duration OperationTimeout time.Duration }

Explicit maintenance admission and bounded lease/operation controls.

Source adapters/mongodb/migration_lease.go:29

Fields

AllowMaintenancebool
Admit pending traffic-sensitive live steps after writers drain, or complete semantic shadow replay.
AllowUnboundedbool
Explicitly permit a zero wait or operation timeout.
LeaseWaittime.Duration
Maximum wait for the single-migrator fenced lease.
LeaseDurationtime.Duration
Renewable bounded lease duration used for crash recovery.
OperationTimeouttime.Duration
Overall migration/index-build execution bound.

Zero values select bounded defaults unless AllowUnbounded explicitly admits an unbounded wait or operation; lease expiry remains bounded.