RATIS-1826: Listener will change to follower when using ratis shell
10 files changed
tree: ce08baa5fc76b7264fcde1b739adb360175fee99
  1. .github/
  2. .mvn/
  3. dev-support/
  4. ratis-assembly/
  5. ratis-client/
  6. ratis-common/
  7. ratis-docs/
  8. ratis-examples/
  9. ratis-experiments/
  10. ratis-grpc/
  11. ratis-metrics/
  12. ratis-netty/
  13. ratis-proto/
  14. ratis-replicated-map/
  15. ratis-resource-bundle/
  16. ratis-server/
  17. ratis-server-api/
  18. ratis-shell/
  19. ratis-test/
  20. ratis-tools/
  21. .asf.yaml
  22. .gitignore
  23. BUILDING.md
  24. DEPLOY.md
  26. mvnw
  27. mvnw.cmd
  28. NOTICE
  29. pom.xml
  30. README.md
  31. start-build-env.sh

Apache Ratis

Apache Ratis is a Java library that implements the Raft protocol [1], where an extended version of the Raft paper is available at https://raft.github.io/raft.pdf. The paper introduces Raft and states its motivations in following words:

Raft is a consensus algorithm for managing a replicated log. It produces a result equivalent to (multi-)Paxos, and it is as efficient as Paxos, but its structure is different from Paxos; this makes Raft more understandable than Paxos and also provides a better foundation for building practical systems.

Ratis aims to make Raft available as a java library that can be used by any system that needs to use a replicated log. It provides pluggability for state machine implementations to manage replicated states. It also provides pluggability for Raft log, and rpc implementations to make it easy for integration with other projects. Another important goal is to support high throughput data ingest so that it can be used for more general data replication use cases.


  1. Diego Ongaro and John Ousterhout, In Search of an Understandable Consensus Algorithm, 2014 USENIX Annual Technical Conference (USENIX ATC 14) (Philadelphia, PA), USENIX Association, 2014, pp. 305-319.