Shutdown storage after RAFT

This commit is contained in:
Antonio Andelic 2022-09-07 09:20:47 +00:00
parent c6b17bd7f9
commit 4cdf18cc81

View File

@ -442,9 +442,9 @@ void KeeperServer::shutdownRaftServer()
void KeeperServer::shutdown() void KeeperServer::shutdown()
{ {
state_machine->shutdownStorage();
state_manager->flushAndShutDownLogStore(); state_manager->flushAndShutDownLogStore();
shutdownRaftServer(); shutdownRaftServer();
state_machine->shutdownStorage();
} }
namespace namespace