garage layout revert inconsistency #533
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#533
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?
Output of
garage layout revert
:However,
garage layout show
doesn't show the new version when the new layout cannot be applied.When running
garage layout revert --help
It says to use the old version number, but this results in a failure:
Then, after some guessing, I was able to figure out the correct version number.
Thanks for reporting this issue. Correct me if I am wrong, but the version number should be the current layout + 1 even when reverting. I tagged this issue as "newcomer" as it should not be too complicated to implement.
Starting from 0.10 beta, and in the future v1.0 release, there will no longer be a "version number" associated to the revert layout command.