Skip to main content

Module wire

Module wire 

Source
Expand description

Wire types for array shard RPC messages.

All request/response pairs are zerompk-serialisable. Complex sub-payloads (slice predicates, cell batches) are carried as opaque msgpack bytes โ€” the same convention used by ArrayOp in the bridge physical plan โ€” so this crate does not need a compile-time dependency on nodedb-array.

Structsยง

ArrayShardAggReq
Scatter request: coordinator asks a shard to compute a partial aggregate.
ArrayShardAggResp
Gather response: shard returns partial aggregate(s) for merge.
ArrayShardDeleteReq
Scatter request: coordinator asks a shard to delete cells by exact coords.
ArrayShardDeleteResp
Acknowledgement: shard confirms the delete was applied.
ArrayShardPutReq
Scatter request: coordinator forwards a cell write to the owning shard.
ArrayShardPutResp
Acknowledgement: shard confirms the put was applied.
ArrayShardSliceReq
Scatter request: coordinator asks a shard to execute a coord-range slice.
ArrayShardSliceResp
Gather response: shard returns matching rows as opaque msgpack row bytes.
ArrayShardSurrogateBitmapReq
Scatter request: coordinator asks a shard to run a surrogate bitmap scan.
ArrayShardSurrogateBitmapResp
Response: shard returns a surrogate bitmap for matching cells.