暂无图片
使用antdb数据库时,显示“ERROR: attempted to local committed but global uncommitted transaction, which version is xxxx \N”。
我来答
分享
暂无图片 匿名用户
使用antdb数据库时,显示“ERROR: attempted to local committed but global uncommitted transaction, which version is xxxx \N”。

如题,使用antdb数据库时为什么会显示“ERROR: attempted to local committed but global uncommitted transaction, which version is xxxx \N”?

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

错误信息中出现如下提示:you can modfiy guc parameter “waitglobaltransaction” on coordinators to wait the global transaction id committed on agtm

在每个dn主库上,查询接受事务快照进程:postgres: snapshot receiver process,然后ps把这个进程的pid找出来,kill -15

报错的cn上,建个表写写数据验证问题是否已经修复。

原因说明

部分节点的事务状态和gtm的不一致,在节点内,可以通过select adb_xact_status(xid);来查看事务状态,kill上面的进程,目的是让节点重新同步一下gtm的事务状态。

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