Skip to main content

connect_and_hello

Function connect_and_hello 

Source
pub async fn connect_and_hello(compute_addr: &str) -> Result<ComputeCtpClient>
Expand description

Connects to a clusterd compute controller address and sends Hello, leaving the controller handshake (CreateInstance onward) to the caller.

A reconnect re-runs exactly this: a fresh transport connection plus Hello. The reconciliation window then opens when the script sends CreateInstance and closes when it sends InitializationComplete; in between, the replica reconciles the replayed dataflows against its live ones rather than rehydrating.