当 OBProxy 未自动同步 OBProxy 集群配置时,您可根据业务需要刷新 OBProxy 配置。
通过 SQL 语句刷新 OBProxy 配置
您可通过 ALTER PROXYCONFIG
语句刷新单个 OBProxy 的配置。具体步骤如下:
-
使用
root@proxysys
账号连接到 OBProxy。 -
执行以下命令,查看待刷新的配置项的值。
obclient> SHOW PROXYCONFIG LIKE 'fetch_proxy_bin_random_time'; +-----------------------------+-------+------------------------------------------------------------------------+-------------+---------------+ | name | value | info | need_reboot | visible_level | +-----------------------------+-------+------------------------------------------------------------------------+-------------+---------------+ | fetch_proxy_bin_random_time | 300s | max random waiting time of fetching proxy bin in hot upgrade, [1s, 1h] | false | USER | +--