antdb数据库提示“cannot find the datanode master which oid is “xxxx” in pgxc_node of coordinator”。

0 sjdh 1年前 608次点击

如题,antdb数据库提示“cannot find the datanode master which oid is “xxxx” in pgxc_node of coordinator”该怎么解决?

共 1 条评论
hadi 1年前
0 

解决方式

需要确认当前 datanode 节点的主备状况。根据主备状况确认 pgxc_node 中的 datanode 信息:

gtm主库&cn主库的pgxc_node 中的 datanode 信息正确的话

update pgxc_class set nodeoids='xxx yyy zzz' where nodeoids='aaa bbb ccc';

pgxc_node 中的 datanode 信息不正确的话

update pgxc_node set node_name='xxxx', node_host='' where oid=xxxx;

原因说明

datanode主备切换成功后,可能会遗漏 pgxc_node 的相关修改。

添加一条新评论

登录后可以发表评论 去登录