Enforce a protocol version check #206
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#206
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?
We discussed a lot about facilitating cluster migrations and behavior with different versions. The reality now is, often to work, we must have all nodes at the exact same version. And we do not document when it is not the case.
Could we start by adding a protocol check that prevent communications with nodes of a different version? Something very basic, it could be an header on all packets with a version number.
It is important because if garage is packaged in a distribution, from my experience with GlusterFS, it is very easy to have mismatching version simply by running a
apt-get upgrade
.Trinity's idea: RPC secret could be a hash of the user provided value and the version. We should adapt the error message to say that's either an error with the secret or a mismatching version
Added in 0.7.0