Skip to main content

Module barrier

Module barrier 

Source

ModulesΒ§

backfill_order_control πŸ”’
cdc_progress
checkpoint πŸ”’
command πŸ”’
complete_task πŸ”’
context πŸ”’
edge_builder πŸ”’
info πŸ”’
manager πŸ”’
partial_graph πŸ”’
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
IcebergPkIndexCompactionOverwrite
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 notifier.
SinceEpochInfo
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 via corresponding *_to_mutation helpers, and may do different stuffs after the barrier is collected.
CreateStreamingJobType
IndependentStreamingJobType
RecoveryReason πŸ”’
The reason why the cluster is recovering.
RecoveryStatus πŸ”’
Recovery state exposed by the barrier manager, without completion notifiers.
ResumeBackfillTarget

FunctionsΒ§

snapshot_backfill_max_pending_barrier_num
The maximum number of upstream barriers a snapshot backfill partial graph may queue before the upstream is back-pressured.

Type AliasesΒ§

BarrierManagerRef