暂无图片
antdb数据库提示“cannot find the datanode master which oid is “xxxx” in pgxc_node of coordinator”。
我来答
分享
关耳
2023-09-27
antdb数据库提示“cannot find the datanode master which oid is “xxxx” in pgxc_node of coordinator”。

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

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
暂无图片
亚信安慧AntDB数据库

解决方式

需要确认当前 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 的相关修改。

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏