Project 'picodata/picodata/picodata' was moved to 'core/picodata'. Please update any links and bookmarks that may still have the old path.
Commits on Source (11)
-
Yaroslav Dynnikov authored
Make it simpler.
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Georgy Moshkin authored
This somehow broke the build for raft-proto, until I added `feature = ["bytes"]` for protobuf.
-
Georgy Moshkin authored
-
Yaroslav Dynnikov authored
This scenario results in quorum loss and not much useful.
-
Yaroslav Dynnikov authored
Lots of tests are marked "fixme" with the desired value commented. They'll be fixed in the next commit.
-
Yaroslav Dynnikov authored
No assumptions should be made on `traft::node::Status.leader_id`. It can be set to `None` at any time due to a re-election.
-
Yaroslav Dynnikov authored
Rewrite it from scratch to satisfy tests and to represent governor logics in general.
-
Showing
- Cargo.toml 5 additions, 2 deletionsCargo.toml
- build.rs 1 addition, 1 deletionbuild.rs
- docker-build-base/Dockerfile 1 addition, 1 deletiondocker-build-base/Dockerfile
- src/main.rs 44 additions, 23 deletionssrc/main.rs
- src/traft/failover.rs 0 additions, 36 deletionssrc/traft/failover.rs
- src/traft/governor.rs 368 additions, 1 deletionsrc/traft/governor.rs
- src/traft/node.rs 5 additions, 110 deletionssrc/traft/node.rs
- src/util.rs 1 addition, 1 deletionsrc/util.rs
- test/int/test_basics.py 2 additions, 2 deletionstest/int/test_basics.py
- test/int/test_couple.py 0 additions, 84 deletionstest/int/test_couple.py
- test/int/test_joining.py 15 additions, 18 deletionstest/int/test_joining.py
[package] | ||
name = "picodata" | ||
version = "22.7.0" | ||
edition = "2018" | ||
edition = "2021" | ||
autotests = false | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
... | ... | @@ -23,10 +23,13 @@ indoc = "1.0" |
nix = "0.23.1" | ||
itertools = "0.10.3" | ||
base64 = "0.13" | ||
protobuf = "2.27" | ||
lazy_static = "1.4" | ||
uuid = {version = "1.0", features = ["v3"]} | ||
[dependencies.protobuf] | ||
version = "2.27" | ||
features = ["bytes"] | ||
[dependencies.slog] | ||
version = "2.7.0" | ||
features = ["max_level_trace", "release_max_level_trace"] | ||
... | ... |