使用antdb数据库时,显示“ERROR: attempted to local committed but global uncommitted transaction, which version is xxxx \N”。

0 shudaonan 1年前 269次点击

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

共 1 条评论
sanmeimu 1年前
0 

错误信息中出现如下提示: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的事务状态。

添加一条新评论

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