1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-27 09:01:50 +03:00

Refactored server_service out of server_state.

This commit is contained in:
Teemu Ollakka
2018-06-18 17:45:24 +03:00
parent ef5751943d
commit cf231bdf2d
14 changed files with 142 additions and 89 deletions

View File

@ -3,6 +3,7 @@
//
#include "db_server.hpp"
#include "db_server_service.hpp"
#include "db_client.hpp"
#include "db_simulator.hpp"
@ -16,7 +17,9 @@ db::server::server(simulator& simulator,
, storage_engine_(simulator_.params())
, mutex_()
, cond_()
, server_state_(*this, name, server_id, address, "dbsim_" + name + "_data")
, server_service_(*this)
, server_state_(*this, server_service_,
name, server_id, address, "dbsim_" + name + "_data")
, last_client_id_(0)
, last_transaction_id_(0)
, appliers_()