Skip to content
Snippets Groups Projects
Commit 9489307d authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

raft: introduce vtab for disk and network

Raft is being moved to a separate library in src/lib. It means,
it can't depend on anything from box/.

The patch makes raft stop using replicaset and journal objects.
They were used to broadcast messages to all the other nodes, and
to persist updates.

Now raft does the same through vtab, which is configured by box.
Broadcast still sends messages via relays, and disk write still
uses the journal. But raft does not depend on any specific journal
or network API.

Part of #5303
parent 8fd71136
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment