Skip to content

Incapsulate raw raft node

Alexey Protsenko requested to merge raw-node-incapsulation into master

This patch eliminates raw raft node dereferencing and redundant use of borrow_mut(). Instead, traft::Node provides a safe API that communicates with the raw node through the fiber channel.

Also, functions node::new and node::start are merged because keeping them distinct makes no sense.

Edited by Alexey Protsenko

Merge request reports