Module mz_compute_client::controller::instance
source Β· Expand description
A controller for a compute instance.
Structs§
- Active
Subscribe π - Client πA client for an
Instance
task. - Manages certain introspection relations associated with a collection. Upon creation, it adds rows to introspection relations. When dropped, it retracts its managed rows.
- Collection
State πState maintained about individual compute collections. - Instance πThe state we keep for a compute instance.
- Pending
Peek πA note of an outstanding peek response. - Information needed to compute introspection updates for a REFRESH materialized view when the write frontier advances.
- Maintains the introspection state for a given replica and collection, and ensures that reported introspection data is retracted when the collection is dropped.
- Replica
Exists π - Replica
Missing π - Replica
State πState maintained about individual replicas. - Collection state shared with the
ComputeController
.
Enums§
- Peek
Error π - Read
Policy πError
Type Aliases§
- A command sent to an
Instance
task. - Replica
Response πA response from a replica, composed of a replica ID, the replicaβs current epoch, and the compute response itself.