This fixes a panic that would occur when a leader created a pending selection that overlapped another selection, because the follower would attempt to treat that pending selection as non-pending, which would violate the invariant that selections are sorted and disjoint.
10 lines
143 B
Rust
10 lines
143 B
Rust
pub mod auth;
|
|
mod conn;
|
|
mod peer;
|
|
pub mod proto;
|
|
pub use conn::Connection;
|
|
pub use peer::*;
|
|
mod macros;
|
|
|
|
pub const PROTOCOL_VERSION: u32 = 44;
|