Module barrier_worker

Source

Modulesยง

await_epoch_completed_future ๐Ÿ”’
managed_state

Structsยง

BarrierCompleteResult
Collect result of some barrier on current compute node. Will be reported to the meta service in LocalBarrierWorker::next_completed_epoch.
ControlStreamHandle ๐Ÿ”’
Lives in crate::task::barrier_worker::LocalBarrierWorker, Communicates with ControlStreamManager in meta. Handles risingwave_pb::stream_service::streaming_control_stream_request::Request.
EventSender ๐Ÿ”’
LocalBarrierWorker ๐Ÿ”’
LocalBarrierWorker manages barrier control flow. Specifically, LocalBarrierWorker serves barrier injection from meta server, sends the barriers to and collects them from all actors, and finally reports the progress.
LocalBarrierWorkerDebugInfo ๐Ÿ”’

Enumsยง

LocalActorOperation ๐Ÿ”’
Sent from crate::task::stream_manager::LocalStreamManager to crate::task::barrier_worker::LocalBarrierWorker::run.
NewOutputRequest ๐Ÿ”’

Constantsยง

ENABLE_BARRIER_AGGREGATION
If enabled, all actors will be grouped in the same tracing span within one epoch. Note that this option will significantly increase the overhead of tracing.

Functionsยง

sync_epoch ๐Ÿ”’