pub type PbWorkerNode = WorkerNode;
Expand description
Alias for WorkerNode
.
Aliased Type§
struct PbWorkerNode {
pub id: u32,
pub type: i32,
pub host: Option<HostAddress>,
pub state: i32,
pub property: Option<Property>,
pub transactional_id: Option<u32>,
pub resource: Option<Resource>,
pub started_at: Option<u64>,
pub parallelism: u32,
pub node_label: String,
}
Fields§
§id: u32
§type: i32
§host: Option<HostAddress>
§state: i32
§property: Option<Property>
§transactional_id: Option<u32>
Ranges from 0 to 1023, used to generate the machine ID field in the global unique ID.
resource: Option<Resource>
Resource spec. It’s populated by meta node with the value reported by worker node, when the worker node is added by meta node. It’s not persistent in meta store.
started_at: Option<u64>
Timestamp the worker node is added by meta node, in seconds. It’s populated by meta node, when the worker node is added by meta node. It’s not persistent in meta store.
parallelism: u32
§node_label: String
Meta may assign labels to worker nodes to partition workload by label. This is used for serverless backfilling of materialized views.