mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
* Return provider status from provider connect
* Call to get server status variables along with provider variables * Deal with intermediate non-prims
This commit is contained in:
@ -223,10 +223,10 @@ namespace wsrep
|
||||
{ }
|
||||
virtual ~provider() { }
|
||||
// Provider state management
|
||||
virtual int connect(const std::string& cluster_name,
|
||||
const std::string& cluster_url,
|
||||
const std::string& state_donor,
|
||||
bool bootstrap) = 0;
|
||||
virtual enum status connect(const std::string& cluster_name,
|
||||
const std::string& cluster_url,
|
||||
const std::string& state_donor,
|
||||
bool bootstrap) = 0;
|
||||
virtual int disconnect() = 0;
|
||||
|
||||
virtual int capabilities() const = 0;
|
||||
|
Reference in New Issue
Block a user