mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 21:47:10 +00:00
Soon it will be possible to stop a server and then start a completely new `raft::server` instance but which uses the same ID and persistence, simulating a server restart. For this we introduce the concept of a "node" which keeps the persistence alive (through a shared pointer). To start a server - using `start_server` - we must first create a node on which it will be running through `new_node`. `new_server` is now a short function which does these two things.