Structs§
- Command
Context 🔒 CommandContextis used for generating barrier and doing post stuffs according to the givenCommand.- Create
Streaming JobCommand Info - Replace
Stream JobPlan - Replacing an old job with a new one. All actors in the job will be rebuilt.
- Reschedule
Rescheduledescribes per-fragment changes in a resolved reschedule plan, used for actor scaling or migration.- Reschedule
Context - Preloaded context for rescheduling, built outside the barrier worker.
- Reschedule
Plan - Snapshot
Backfill Info
Enums§
- Barrier
Kind - Command
Commandis the input ofcrate::barrier::worker::GlobalBarrierWorker. For different commands, it will build different barriers to send, and may do different stuffs after the barrier is collected.- Create
Streaming JobType - Post
Collect Command - Resume
Backfill Target