GitHub user icodegarden created a discussion: 生产环境global_table有几千条状态是16、17的数据

大家好,
    我们的生产环境seata和应用服务 
使用nacos注册中心,运行了几个月,现在发现global_table有几千条status是16、17的数据,以下是seata代码中16、17的解释
    CommitRetryTimeout(16, "global transaction still failed after commit 
failure and retries for some time"),
    RollbackRetryTimeout(17, "global transaction still failed after commit 
failure and retries for some time"),

    并且branch_table存在很多数量的status=1的数据,创建时间都是9、10月的,今天是1106日。

    
我们生产环境是k8s部署,我观察了一下创建时间,跟我们的生产环境发布时间基本在相同时间,所以我猜测会不会是seata的分支事务commit/rollback是不是跟branch_table的client_id字段有关,因为他的存储数据是类似这样的ssp-task:172.19.99.168:60788,是不是commit/rollback时通过解析client_id字段得到应用服务的ip:port然后调用它进行commit/rollback的,而不是通过服务名从nacos中查找服务再调用commit/rollback的?
    有这样的疑问是因为发布的时候我们的应用服务在k8s中的ip一定会变,从而导致了很多status是16、17数据的存在呢?

    在线等答案...
    


GitHub link: https://github.com/apache/incubator-seata/discussions/7769

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to