- Aug 05, 2022
-
-
Yaroslav Dynnikov authored
Extend documentation with raft log processing algorithm.
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
Describe `conf_change_loop` and graceful shutdown logic.
-
Yaroslav Dynnikov authored
Bring the algorithm description in accordance with actual implementation. Also provide some comments to the code.
-
- Jul 06, 2022
-
-
- Jul 05, 2022
-
-
Georgy Moshkin authored
-
- Jun 20, 2022
-
-
Yaroslav Dynnikov authored
-
-
- Jun 17, 2022
-
-
Alexander Tolstoy authored
-
Alexander Tolstoy authored
-
- Jun 16, 2022
-
-
Alexander Tolstoy authored
-
- Jun 15, 2022
-
-
Alexander Tolstoy authored
-
- Jun 01, 2022
- May 25, 2022
-
-
Alexander Tolstoy authored
-
- May 23, 2022
-
-
Alexander Tolstoy authored
-
Yaroslav Dynnikov authored
When bootstrapping an instance, there're two possible execution paths - `start_boot` and `start_join`. While `start_join` takes all uuids from JoinResponse, `start_boot` already deals with a bootstrapped `box.cfg` (it's done in `start_discover`, refer to [1]). In order to make uuids consistent across `box.cfg` and topology module, `start_boot` stage is preceded with rebootstrap. This case is also covered with a pytest. - [1] doc/clustering.md
-
- Apr 28, 2022
-
-
- Apr 18, 2022
-
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
feat: raft peer discovery PoC chore: prevent C functions from being optimized out feat: improve peer discovery fix: fix tests after making instance_id arg mandatory Smart supevision with fork Make it work Under development IPC messages to supervisor One more little step: entrypoint enum Arrange IPC from child to supervisor Remove tarantool_main macro Persist snapshot Fix some fresh bugs Implement postjoin Discovery under refactoring Enhance discovery Working on discovery Fix all discovery bugs known so far Draft join algorithm Fail applying snapshot Joining a learner works Cleanup snapshot generation Reorganize traft code and call join automatically Change peer.commit_index type from option to u64 Implement autopromotion to voter Implement read_index Take read_index before self-romotion Cleanup excess logs Cleanup logs and code Deep refactoring in progress Finish refactoring db schema Embed entries applying inside traft node Refactor raft node communication Replace fiber channel with a mailbox, which is a `Vec<_>` + fiber cond. It allows to batch raft commands in a more predictable way and makes the code less error-prone. Remove commented code Simplify raft nodes interaction over net_box Eliminate `traft::Message` struct because its internals aren't used. Instead, serialize `raft::Message` using protobuf. Batch ConnectionPool requests 1. Send messages in batches. 2. Allow changing connection uri. 3. Close unused connections after `inactivity_timeout`. Enhance the raft node 1. Collect results from raft node 2. Fix initial bootstrap which used to fail due to fiber race. 3. Wrap raft storage operations in a transaction. Bump tarantool module Add documentation draft Cleanup warnings Try fixing tests Fix test_storage_log Fix test_traft_pool Fix luatest single and couple Start fixing threesome test Implement concurrent join requests handling
-
- Mar 16, 2022
-
- Feb 14, 2022