gmo-media / mikasafabric

mikasafabric for MySQL is fork product of MySQL Fabric.
https://example.com/
GNU General Public License v2.0
3 stars 3 forks source link

Remove newline-character from executed_gtid in `group health` #8

Closed yoku0825 closed 6 years ago

yoku0825 commented 6 years ago

Before patch

$ mikasafabric group health myfabric
Fabric UUID:  5ca1ab1e-a007-feed-f00d-cab3fe13249e
Time-To-Live: 1

                                uuid is_alive    status is_not_running is_not_configured io_not_running sql_not_running io_error sql_error                                                                                                                      gtid_executed
------------------------------------ -------- --------- -------------- ----------------- -------------- --------------- -------- --------- ----------------------------------------------------------------------------------------------------------------------------------
9d61a68f-e46a-11e7-9264-0242ac110002        1 SECONDARY              0                 0              0               0    False     False 9d61a68f-e46a-11e7-9264-0242ac110002:1-167,
9f28784a-e46a-11e7-923b-0242ac110003:1-158,
a1b366c8-e46a-11e7-92e0-0242ac110004:1-158
9f28784a-e46a-11e7-923b-0242ac110003        1   PRIMARY              0                 0              0               0    False     False 9d61a68f-e46a-11e7-9264-0242ac110002:1-167,
9f28784a-e46a-11e7-923b-0242ac110003:1-158,
a1b366c8-e46a-11e7-92e0-0242ac110004:1-158
a1b366c8-e46a-11e7-92e0-0242ac110004        1 SECONDARY              0                 0              0               0    False     False 9d61a68f-e46a-11e7-9264-0242ac110002:1-167,
9f28784a-e46a-11e7-923b-0242ac110003:1-158,
a1b366c8-e46a-11e7-92e0-0242ac110004:1-158

issue
-----

After patch

$ mikasafabric group health myfabric
Fabric UUID:  5ca1ab1e-a007-feed-f00d-cab3fe13249e
Time-To-Live: 1

                                uuid is_alive    status is_not_running is_not_configured io_not_running sql_not_running io_error sql_error                                                                                                                      gtid_executed
------------------------------------ -------- --------- -------------- ----------------- -------------- --------------- -------- --------- ----------------------------------------------------------------------------------------------------------------------------------
9d61a68f-e46a-11e7-9264-0242ac110002        1 SECONDARY              0                 0              0               0    False     False 9d61a68f-e46a-11e7-9264-0242ac110002:1-167, 9f28784a-e46a-11e7-923b-0242ac110003:1-158, a1b366c8-e46a-11e7-92e0-0242ac110004:1-158
9f28784a-e46a-11e7-923b-0242ac110003        1   PRIMARY              0                 0              0               0    False     False 9d61a68f-e46a-11e7-9264-0242ac110002:1-167, 9f28784a-e46a-11e7-923b-0242ac110003:1-158, a1b366c8-e46a-11e7-92e0-0242ac110004:1-158
a1b366c8-e46a-11e7-92e0-0242ac110004        1 SECONDARY              0                 0              0               0    False     False 9d61a68f-e46a-11e7-9264-0242ac110002:1-167, 9f28784a-e46a-11e7-923b-0242ac110003:1-158, a1b366c8-e46a-11e7-92e0-0242ac110004:1-158

issue
-----