garage worker list: cryptic error on client/server binary version mismatch #542
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#542
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?
I'm was attempting to run
garage worker list
command usingv0.8.0
binary against cluster runningv0.8.1
and I was getting really cryptic error message.It was totally my fault, but it looked as
garage
error. I found my mistake only after I started gathering data for bug report.It would be nice if
garage
run in as CLI tool checked its own version vs server version and reported at least warning. If version mismatch can cause issues in the middle of operation, it should be error instead.As far as I know, Garage already does check for compatible versions over the RPC channel, but only fails when the major versions differ (e.g. 7.x.y vs 8.z.t)
The RPC protocol should be compatible within the same major version, this looks like an oversight or a bug.
I didn't bother making this one compatible accross Garage minor versions as it is not a core feature of Garage and we are not stable yet. I understand and apologize for the frustration. This will not happen after we reach the v1.0 target.