Module preflight

Source
Expand description

Preflight checks for deployments.

Structsยง

PreflightInput
The necessary input for preflight checks.
PreflightOutput
Output of preflight checks.

Functionsยง

check_ddl_changes ๐Ÿ”’
Check if there have been any DDL that create new collections or replicas, restart in read-only mode if so, in order to pick up those new items and start hydrating them before cutting over.
get_next_ids ๐Ÿ”’
Gets and returns the next user item ID and user replica ID that would be allocated as of the current catalog state.
preflight_0dt
Perform a 0dt preflight check.
preflight_legacy
Perform a legacy (non-0dt) preflight check.