
OpenRaft v0.10.2 is out!
• Replication backs off when a stream fails to open.
• Fewer HTTP/2 resets when peers stall.
• Writes can require a matching last log ID.
github.com/databendlabs/open…
5
413
Openraft v0.10.1 is out!
• 14% less CPU for idle Raft groups. Deadline-driven elections and heartbeats replace the periodic ticker. The benchmark ran 5,000 three-member groups in one process.
• 32% higher write throughput and 23% lower median write latency. The state-machine worker reads the next batch while applying the current one. Measured with 256 clients and simulated storage delays.
• 25% lower p99 read latency. Opt-in relaxed leader reads wait for the leader’s no-op to apply rather than the full committed tail. Measured against standard local lease reads in a mixed workload with an apply backlog.
Release notes: github.com/databendlabs/open…
1
10
875
A relaxed read waits only for a lower bound: the no-op entry the leader wrote when it was elected. That entry is almost always applied already, so a relaxed read almost never waits, and it is still linearizable.
12
1,125
OpenRaft 0.10.0 is released.
OpenRaft 0.10 makes most of its types pluggable, moves optional parts into separate crates, and adds configurable quorum rules, pipelined replication, Pre-Vote, leadership transfer and faster linearizable reads. It also fixes several safety bugs.
What's new:
• Configurable types: RaftTypeConfig selects the term, leader id, vote, payload, membership, error source and client-write responder.
• Quorum rules: a membership type defines separate read and write quorums and per-node roles. The new openraft-membership crate provides threshold, weighted, grid, hierarchical and explicit memberships. A membership change writes one log entry when the old and new quorums intersect.
• Replication: the leader pipelines AppendEntries through RaftNetworkV2::stream_append(). Followers send conflict hints that shorten log matching, and consecutive appends merge into one storage write.
• Elections: optional Pre-Vote stops partitioned nodes from inflating the term, and Trigger::transfer_leader() hands leadership to a chosen node.
• Linearizable reads: each read chooses its own policy, one heartbeat round answers every waiting read, and lease reads skip the RaftCore round trip.
• New crates: runtimes for tokio, compio, monoio and deterministic simulation; openraft-multi shares connections across Raft groups; openraft-metrics-otel exports OpenTelemetry metrics; openraft-legacy keeps the v1 network API.
• Safety fixes: a restarted leader no longer reuses log ids for different entries, a leader commits a blank entry of its own term before it changes membership, and a restarted follower keeps its vote lease, so a lease read on the old leader cannot miss a committed write.
Upgrading from 0.9 requires code changes, and the upgrade guide covers each one. With the default types, data stored by 0.9 needs no migration. OpenRaft 0.10 needs Rust 1.88 or later. The 0.9 branch keeps receiving bug fixes until 0.11 development starts.
Thanks to all the contributors to OpenRaft.
Release notes: github.com/databendlabs/open…
Upgrade guide: docs.rs/openraft/0.10.0/open…
11
555
OpenRaft v0.10.0-alpha.38 is out:
• Custom quorums: weighted, hierarchical, grid & more
• Single-entry membership changes when every old quorum intersects every new quorum
• Local lease reads skip the RaftCore round trip
Breaking APIs; upgrade notes:
github.com/databendlabs/open…
6
390
OpenRaft now lets an application define its membership.
A 4-node cluster elects with 3 votes and commits after 2 copies.
Built-in types cover node count, weight, sites, and grids. You can also define your own.
blog.openacid.com/distribute…
6
417
A minor optimization for single step Raft config change: github.com/drmingdrmer/conse…
2
7
683
OpenRaft now skips joint consensus when every old quorum intersects every new quorum blog.openacid.com/distribute…
Raft Membership Changes: When a Leader Must Commit a Current-Term Entry First
blog.openacid.com/distribute…
4
388
I think the best use of AI is reducing work entropy, across docs, codebases and writing. In other word: make it short. Condense the content so information stays easy to grasp
1
1
475
The 2nd step of Raft’s joint config change `c01 → c1` does not require the leader’s first log to be committed(single step change requires it, 1st step of joint doesn't) — unless bidirectional transitions are permitted, meaning both `c01 → c0` and `c01 → c1` are allowed.
1
305
Raft can use separate read quorums for elections and write quorums for replication. A 5-node cluster can elect with 4 votes and commit with 2 copies. I walk through the safety rules and tradeoffs.
blog.openacid.com/distribute…
4
542
Raft can use separate read quorums for elections and write quorums for replication. A 5-node cluster can elect with 4 votes and commit with 2 copies. I walk through the safety rules and tradeoffs.
blog.openacid.com/distribute…
In Raft, read and write quorums can result in split brain, where two leaders exist for the same term.
Fix 1: read quorums intersect each other too (4 nodes: 3 elect, 2 commit).
Fix 2: leader id (term, node_id) is a total order.
github.com/drmingdrmer/conse…












