Expand description
Version compatibility and rolling upgrade support.
This module provides version constants, compatibility checks, and a handshake protocol for multi-node clusters to detect incompatible version combinations before establishing connections.
Structs§
- Version
Handshake - Version handshake exchanged between nodes on initial connection.
Constants§
- CURRENT_
VERSION - Current version of this build, taken from
Cargo.tomlat compile time. - MIN_
COMPATIBLE_ VERSION - Minimum compatible version: nodes running this version or newer (with the same major) are accepted into the cluster.
Functions§
- is_
compatible - Returns
truewhenpeer_versionis considered compatible with this node.