0 • sjdh • 11个月前 • 277次点击
如题,antdb数据库提示“cannot find the datanode master which oid is “xxxx” in pgxc_node of coordinator”该怎么解决?
解决方式
需要确认当前 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 的相关修改。
积分:40
解决方式
需要确认当前 datanode 节点的主备状况。根据主备状况确认 pgxc_node 中的 datanode 信息:
原因说明
datanode主备切换成功后,可能会遗漏 pgxc_node 的相关修改。