- Jul 26, 2022
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Yaroslav Dynnikov authored
Everywhere in code use `RaftId`, `RaftTerm`, `RaftIndex` instead of obscure `u64`.
-
-
-
-
-
- Jul 11, 2022
-
-
Georgy Moshkin authored
-
- Jul 08, 2022
-
-
-
-
-
-
In some states `raft-rs` ignores the ReadIndex request. Check it preliminary, don't wait for the timeout. See for details: - <https://github.com/tikv/raft-rs/blob/v0.6.0/src/raft.rs#L2058> - <https://github.com/tikv/raft-rs/blob/v0.6.0/src/raft.rs#L2323>
-
The failure of `raw_node.propose_conf_change` isn't easy to handle. For now we only know that it shouldn't short-circuit the `raft_conf_change_loop`. Fuse it with a `fiber.sleep()`. Current pause value of 1 second is chosen arbitrarily with no actual reason.
-
- Jul 07, 2022
-
-
Georgy Moshkin authored
-
-
Valentin Syrovatskiy authored
-
- Jul 05, 2022
-
-
Georgy Moshkin authored
-
Yaroslav Dynnikov authored
Initially, JoinResponse was supplied with every single peer in cluster. If the cluster is big enough, it results in the "max tuple size limit reached" error. In fact, only voters are needed for the raft to operate normally.
-
- Jul 04, 2022
-
-
Georgy Moshkin authored
-
- Jul 01, 2022
-
-
Yaroslav Dynnikov authored
Since a recent commit, message destination (`to` field) is taken into account. Make it correct to avoid skipping.
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
Joint state latch was mistakenly dropped, and conf_change_loop couldn't receive a notification. Also assert it's not overridden by mistake.
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Jun 30, 2022
-
-
Georgy Moshkin authored
-
Yaroslav Dynnikov authored
-
Georgy Moshkin authored
-
Yaroslav Dynnikov authored
-
Georgy Moshkin authored
-
- Jun 29, 2022
-
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
It allows us to use raft::EntryType directly without obscure i32 tricks.
-
- Jun 28, 2022
-
-
Yaroslav Dynnikov authored
-