英文:
antdb prompts "cannot find the datanode master which oid is "xxxx" in pgxc_node of coordinator"
问题
我是AntDB的新用户,使用过程中总是遇到一些问题。今天我发现AntDB提示“在协调器的pgxc_node中找不到OID为“xxxx”的数据节点主节点”,我该怎么办?谢谢你的帮助!
英文:
I'm a new user of antdb and I always some problems while using it. Today I found antdb prompts "cannot find the datanode master which oid is "xxxx" in pgxc_node of coordinator", what should I do? Thanks for your help!
答案1
得分: 0
在成功进行了数据节点主/备份切换后,可能会错过对 pgxc_node 的相关更改。
您需要确认当前数据节点的主/备份数据库状态。根据主/备份状态在 pgxc_node 中确认数据节点信息:
如果 gtm 主数据库和 cn 主数据库的 pgxc_node 中的数据节点信息是正确的
则更新 pgxc_class,将 nodeoids='xxx yyy zzz' 更新为 nodeoids='aaa bbb ccc';
如果 pgxc_node 中的数据节点信息不正确,
则更新 pgxc_node,将 node_name='xxxx' 和 node_host='' 更新为 oid=xxxx;
英文:
After a successful datanode primary/backup switchover, the relevant changes to pgxc_node may be missed.
You need to confirm the primary/backup database status of the current datanode. Confirm the datanode information in pgxc_node based on the primary/standby status:
If the datanode information in the pgxc_node of the gtm primary database& cn primary database is correct
update pgxc_class set nodeoids='xxx yyy zzz' where nodeoids='aaa bbb ccc';
If the datanode information in pgxc_node is incorrect,
update pgxc_node set node_name='xxxx', node_host='' where oid=xxxx;
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论