goInception
goInception copied to clipboard
add ghost_throttle_control_replicas_query
Archery 目前没有支持主从关系,云服务一般有固定的帐号建立主从,且端口都为3306 ,通过此查询查到相应的从库,实现gh-ost throttle_control_replicas 参数关联到相应的从库实例
ghost_throttle_control_replicas_query = "SELECT host from information_schema.processlist where user = 'rsandbox';"
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication