- Created docs/ctl/*.md runbooks for all 16 miroir-ctl subcommands - Each runbook includes: purpose, preconditions, examples, gotchas, see also - Added runbook location to --help output - All runbooks under 50 lines for easy reading Closes: miroir-uyx.4
950 B
950 B
miroir-ctl task
Purpose
Monitor and manage background tasks (resharding, rebalancing, verification, etc.).
Preconditions
- Admin API key configured
Examples
# List all background tasks
miroir-ctl task list
# Show status of a specific task
miroir-ctl task status --id abc123
# Show status of all tasks (no ID filter)
miroir-ctl task status
# Cancel a running task
miroir-ctl task cancel --id abc123
Gotchas
- Not yet implemented — see bead miroir-qon for tracking
- Task IDs are returned by async commands (
node add,reshard start, etc.) - Cancellation is best-effort — some tasks complete their current unit before stopping
- Tasks that fail are retried automatically — check
task statusfor retry count
See also
- Plan §13 — task management across operations
miroir-ctl rebalance status— shortcut for rebalancing tasksmiroir-ctl reshard status— shortcut for resharding tasks