ditsing

ditsing запушил(а) master в ditsing/ruaft

6 месяцев назад

ditsing запушил(а) master в ditsing/ruaft

  • f5ff46482a Update Cargo.lock in durio. Skipping tarpc 0.34 which introduced a breaking change. See https://github.com/google/tarpc/issues/421.

1 год назад

ditsing запушил(а) master в ditsing/ruaft

  • 9a192c07c1 Replace SharedSender with the std Sender, which is now Sync.

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

  • 18699fdd34 Minor cosmetic change for readability.

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

  • 23c826e6f9 Move raft code into its own directory.

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

  • a044b77280 Log error right before assertion failurs in daemons.

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) check_quorum в ditsing/ruaft

  • 4b2264fd31 Update README and add a todo.
  • e1b955979d Add active-step-down to guarantee liveness. This is only useful in specific cases, where a follower would refuse to vote for a new candidate while the present leader is still functioning. If a follower simply follow the orginal rule of voting for the largest term, this change would not be needed.
  • 22b3c73eaf Refuse prevote if regularly receiving heartbeats. #10 The disruptive_liveness test will fail. This is expected.
  • 3f57270a5d Consolidate the two ways to become a follower.
  • d437abc009 Update Cargo.lock in durio.
  • Просмотр сравнение для этих 29 коммитов »

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

  • b9a9591bec Optimize serialization of Vec<u8> and boost throughput to 150%.
  • 44774c320f Drop the Arc requirement of Persister. Originally Arc was required because of tests. The persister implemented in tests are shared between the Raft instance and the test, as they both need to access stored data. However in real world, persisters are wrappers to disk utilities, and are rarely shared. This change makes Ruaft work better in the real world. The requirement of tests are addressed by exposing the internal Raft persister to tests only, as implemented in src/utils/integration_test.rs. A forced casting has to be done in the test persister implemention.
  • bd32531d58 Optimize serialization of Vec<u8> and boost throughput to 150%.
  • 26d05814ba Drop the Arc requirement of Persister. Originally Arc was required because of tests. The persister implemented in tests are shared between the Raft instance and the test, as they both need to access stored data. However in real world, persisters are wrappers to disk utilities, and are rarely shared. This change makes Ruaft work better in the real world. The requirement of tests are addressed by exposing the internal Raft persister to tests only, as implemented in src/utils/integration_test.rs. A forced casting has to be done in the test persister implemention.
  • Просмотр сравнение для этих 4 коммитов »

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

  • bd32531d58 Optimize serialization of Vec<u8> and boost throughput to 150%.
  • 26d05814ba Drop the Arc requirement of Persister. Originally Arc was required because of tests. The persister implemented in tests are shared between the Raft instance and the test, as they both need to access stored data. However in real world, persisters are wrappers to disk utilities, and are rarely shared. This change makes Ruaft work better in the real world. The requirement of tests are addressed by exposing the internal Raft persister to tests only, as implemented in src/utils/integration_test.rs. A forced casting has to be done in the test persister implemention.
  • Просмотр сравнение для этих 2 коммитов »

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) master в ditsing/ruaft

2 лет назад

ditsing запушил(а) check_quorum в ditsing/ruaft

  • a6da59518b Update README and add a todo.
  • dae0a22fec Add active-step-down to guarantee liveness. This is only useful in specific cases, where a follower would refuse to vote for a new candidate while the present leader is still functioning. If a follower simply follow the orginal rule of voting for the largest term, this change would not be needed.
  • daffeabf0f Refuse prevote if regularly receiving heartbeats. #10 The disruptive_liveness test will fail. This is expected.
  • a9d54182dd Consolidate the two ways to become a follower.
  • 784af923ed Remove the unused mark_term() method.

2 лет назад