type
RunnerOptions
Explicit maintenance admission and bounded lease/operation controls.
Fields
| Property | Type | Description |
|---|---|---|
AllowMaintenance | bool | Admit pending traffic-sensitive live steps after writers drain, or complete semantic shadow replay. |
AllowUnbounded | bool | Explicitly permit a zero wait or operation timeout. |
LeaseWait | time.Duration | Maximum wait for the single-migrator fenced lease. |
LeaseDuration | time.Duration | Renewable bounded lease duration used for crash recovery. |
OperationTimeout | time.Duration | Overall migration/index-build execution bound. |
How it works
Zero values select bounded defaults unless AllowUnbounded explicitly admits an unbounded wait or operation; lease expiry remains bounded.
Full signature
type RunnerOptions struct {
AllowMaintenance bool
AllowUnbounded bool
LeaseWait time.Duration
LeaseDuration time.Duration
OperationTimeout time.Duration
}