Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Maxscale shows slave and master with "list servers"
maxctrl list servers
|
┌─────────────┬──────────────┬──────┬─────────────┬─────────────────┬───────────┬─────────────────┐
|
│ Server │ Address │ Port │ Connections │ State │ GTID │ Monitor │
|
├─────────────┼──────────────┼──────┼─────────────┼─────────────────┼───────────┼─────────────────┤
|
│ S54 │ xxx.xx.xx.54 │ 3306 │ 0 │ Slave, Running │ 0-3-12 │ MariaDB-Monitor │ |
├─────────────┼──────────────┼──────┼─────────────┼─────────────────┼───────────┼─────────────────┤
|
│ S55 │ xxx.xx.xx.55 │ 3306 │ 0 │ Master, Running │ 0-3-12 │ MariaDB-Monitor │ |
├─────────────┼──────────────┼──────┼─────────────┼─────────────────┼───────────┼─────────────────┤
|
│ S56 │ xxx.xx.xx.56 │ 3306 │ 0 │ Slave, Running │ 0-3-12 │ MariaDB-Monitor │ |
└─────────────┴──────────────┴──────┴─────────────┴─────────────────┴───────────┴─────────────────┘
|
This is the async master.
User also assumed it is identical with the columnstore primary mode, but this is not the case.
So adding the information, if it is a columnstore node, which node is primary (maybe also if readwriteflag is set)
The information can be grabbed from cmapi api from status in json format.
"xxx.xx.xx.54": |
"dbrm_mode": "master", |
"cluster_mode": "readwrite", |
|