improvements to CLI and new debug features #448
No reviewers
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#448
Loading…
Reference in New Issue
No description provided.
Delete Branch "cli-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CLI UX:
worker info
resync-n-workers
intoresync-worker-count
garage stats
garage stats
CLI debug features:
garage block list-errors
-> table of resync errored blocks, with (hash, rc, number of errors, time of last error/time of retry)garage block info <block>
-> info about any block, including all objects that use itgarage block retry-now [<hash> | ---all]
-> retry resync of a block in errored statusgarage block purge <block>...
-> delete all objects that reference a lost blockNon-CLI related:
error!
instead ofwarn!
for "error when resyncing" block messagesQuick feedback on the debug features (block list-errors & block info) and tabular display: been using on a production cluster them for debugging for the past week, with zero issue.
WIP: improvements to CLI and new debug featuresto improvements to CLI and new debug features