gh-ost icon indicating copy to clipboard operation
gh-ost copied to clipboard

Useing gh-ost to alter instance in a MGR group

Open xuewindy opened this issue 7 years ago • 6 comments

there is no slave status on a secondary instance in a Mgr group ,so that gh-ost can't judge other instance delay,to handlle throttle . instead of slave status . could gh-ost useing performance_schema.replication_group_member_stats(COUNT_TRANSACTIONS_IN_QUEUE) to judge if need to decrease the throught of current migrating .

xuewindy avatar Sep 03 '19 10:09 xuewindy

Hi,

What is Mgr? MariaDB Group Replication?

gh-ost does not support group replication at this time; to be honest, I don't expect it to.

shlomi-noach avatar Sep 03 '19 11:09 shlomi-noach

thanks for response, yeah mgr means mysql group replication,
what's the risk when using gh-ost to alter the node on Group Replication? i didn't find any description on previous issue

xuewindy avatar Sep 03 '19 12:09 xuewindy

I don't know first hand what the risks are -- I hear there's risk of complete locking of the database during DDL.

shlomi-noach avatar Sep 04 '19 09:09 shlomi-noach

Recently we have also launched mysql group replcation. The delay of ghost is based on traditional replication. Can it also be integrated?

jiangnanora avatar Nov 25 '20 02:11 jiangnanora

Recently we have also launched mysql group replcation. The delay of ghost is based on traditional replication. Can it also be integrated?

maybe don't need to check the relay, master will hang the write op until slave reache it's relay Threshold

xuewindy avatar Nov 30 '20 07:11 xuewindy

@xuewindy Because of cross-idc reasons, the flow control is closed, so I still want to do some control from gt-ost

jiangnanora avatar Dec 22 '20 02:12 jiangnanora