Module barrier

Module barrier 

Source

ModulesΒ§

backfill_order_control πŸ”’
cdc_progress
checkpoint πŸ”’
command πŸ”’
complete_task πŸ”’
context πŸ”’
edge_builder πŸ”’
info πŸ”’
manager πŸ”’
notifier πŸ”’
progress πŸ”’
rpc πŸ”’
schedule πŸ”’
trace πŸ”’
utils πŸ”’
worker πŸ”’

StructsΒ§

BackfillNode
BackfillOrderState
Actor done -> update fragment_id state Operator done -> update downstream operator dependency Operator’s dependencies done -> queue operator for backfill
BackfillProgress πŸ”’
BarrierScheduler
The sender side of the barrier scheduling queue. Can be cloned and held by other managers to schedule and run barriers.
BarrierWorkerRuntimeInfoSnapshot πŸ”’
CreateStreamingJobCommandInfo
DatabaseRuntimeInfoSnapshot πŸ”’
FragmentBackfillProgress πŸ”’
GlobalBarrierManager
ReplaceStreamJobPlan
Replacing an old job with a new one. All actors in the job will be rebuilt.
Reschedule
Reschedule describes per-fragment changes in a resolved reschedule plan, used for actor scaling or migration.
RescheduleContext
Preloaded context for rescheduling, built outside the barrier worker.
ReschedulePlan
Scheduled πŸ”’
Scheduled command with its notifiers.
SnapshotBackfillInfo
TracedEpoch
A wrapper of Epoch with tracing span, used for issuing epoch-based tracing from the barrier manager on the meta service. This structure is free to clone, which’ll extend the lifetime of the underlying span.
UpdateDatabaseBarrierRequest πŸ”’

EnumsΒ§

BarrierKind
BarrierManagerRequest πŸ”’
BarrierManagerStatus πŸ”’
Status of barrier manager.
Command
Command is the input of crate::barrier::worker::GlobalBarrierWorker. For different commands, it will build different barriers to send, and may do different stuffs after the barrier is collected.
CreateStreamingJobType
RecoveryReason πŸ”’
The reason why the cluster is recovering.
ResumeBackfillTarget

Type AliasesΒ§

BarrierManagerRef