1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-10-18 00:31:19 +03:00

Started documenting client context.

This commit is contained in:
Teemu Ollakka
2018-04-27 12:51:05 +03:00
parent f3afb6306d
commit 28026ea4fc
7 changed files with 384 additions and 49 deletions

View File

@@ -109,7 +109,8 @@ public:
const std::string& name,
const std::string& id,
const std::string& address)
: trrep::server_context(name, id, address, name + "_data",
: trrep::server_context(mutex_,
name, id, address, name + "_data",
trrep::server_context::rm_async)
, simulator_(simulator)
, mutex_()
@@ -179,6 +180,7 @@ public:
cond_.notify_all();
}
bool sst_before_init() const override { return false; }
std::string on_sst_request()
{
return id();