MXS-1845 Assign server roles

Assign server roles (master, slave, relay master, slave of external master)
for a graph with possibly multiple paths to a slave server.
This commit is contained in:
Esa Korhonen
2018-06-08 11:02:53 +03:00
parent 3f82c25c62
commit 5324a1bdaa
6 changed files with 206 additions and 24 deletions

View File

@ -261,6 +261,13 @@ public:
*/
bool is_relay_server() const;
/**
* Getter for m_read_only.
*
* @return True if server is in read_only mode
*/
bool is_read_only() const;
/**
* Returns the server name.
*