garage block info
can't be used with short block has from logs
#682
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#682
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Description
The garage logs contains many messages related to block hashes, but seems to use a prefix of hash instead of full one. Trying to use this shortened hash in other garage commands like
block info
endsActual Outcome
Expected Outcome
The command should be able to find block hash with given short prefix and either:
Motivation
First, I have been investigating resync errors and I could not use the block hash from logs for
garage block info
command. I had to useblock list-errors
, grep it for prefix from logs and use that which is not very user-friendly.Second, in case the block hash is logged and it is not related to an error, it is impossible to get full hash and use
garage block info
to see where is it used.lx referenced this issue2024-03-01 14:14:56 +00:00