Raft implementation in Clojure