improvements to CLI and new debug features #448
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#448
Loading…
Reference in a 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 messagesblock list-errors
andblock info
block retry-now
andblock purge
Quick 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