garage layout revert inconsistency #533
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#533
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.