1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Finished dbsim integration with refactored client API.

This commit is contained in:
Teemu Ollakka
2018-06-16 10:25:14 +03:00
parent ae68122d59
commit 6dcac8ce4d
15 changed files with 203 additions and 97 deletions

View File

@ -32,14 +32,15 @@ namespace db
, stats_()
{ }
void start();
void stop();
void run();
void sst(db::server&,
const std::string&, const wsrep::gtid&, bool);
const db::params& params() const
{ return params_; }
std::string stats() const;
private:
void start();
void stop();
std::string server_port(size_t i) const;
std::string build_cluster_address() const;
@ -52,11 +53,11 @@ namespace db
struct stats
{
long long commits;
long long aborts;
long long rollbacks;
long long replays;
stats()
: commits(0)
, aborts(0)
, rollbacks(0)
, replays(0)
{ }
} stats_;