张炎泼
张炎泼
The following task to enable cluster-name check: - [ ] Cluster name has to be persisted in storage. - [ ] The implementation of `RaftNetwork` has to send cluster-name in...
**Summary** Similar to ephemeral nodes in etcd or zookeeper: When the connection that creates this node is closed, drop the node.
**Summary** Make databend-meta a distributed WAL to support distributed transactional write in databend. A distributed transaction can be done on top of a distributed WAL. Databend-meta can be the WAL...
## Changelog ### Change: Add `RaftStateMachine::save_snapshot()` method Previously, `RaftStateMachine::install_snapshot()` was responsible for two tasks: - Replacing the state machine with the given snapshot. - Persisting the snapshot to disk. This...
## Changelog ##### Improve: Ensure uniform membership config during config changes This commit improves the handling of membership configuration changes to ensure that the system reliably transitions to a uniform...
> When using the Stream approach to eliminate memory allocation, the Stream requires a 'static lifetime as it must traverse from the RaftCore task to StateMachine task. This necessitates that...
Using NoopIndex instead of CommitIndex, when handling `ensure_linearizable()`, and slightly relaxing the ordering for requests could lower the read latency: A read request does not need to wait for committed...
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/ ## Summary ##### chore add logging to query queue test ## Tests - [x] Unit Test - [...
## Summary We've identified a replication session isolation bug in raft-rs that can cause infinite retry loops when a node is removed and then re-added to the cluster within the...
### Description OpenRaft provides a feature that allows a leader to survive a service restart. When a node that was a leader before restart comes back quickly enough (before any...