wxrqforever opened a new issue, #7087: URL: https://github.com/apache/incubator-seata/issues/7087
一、背景 使用tcc模式时,commit方法抛出了异常,发现server端会无限重试调用commit方法。 客户端日志 ``` 2024-12-30 19:09:11.713 INFO org.apache.seata.rm.AbstractRMHandler [rpcDispatch_RMROLE_1_8_20] [] [] Branch commit result: PhaseTwo_CommitFailed_Retryable ``` 服务端日志 ``` 19:17:36.848 INFO --- [ RetryCommitting_1_1] [server.coordinator.DefaultCore] [ doGlobalCommit] [xxxxx:36631387600557134] : Committing global transaction is NOT done, xid = xxxxx:36631387600557134. ``` 查看了相关配置https://seata.apache.org/zh-cn/docs/user/configurations 找到了这个配置 `server.maxCommitRetryTimeout = -1` 我将这个配置改成了3000,但是仍然会无限重试 `server.maxCommitRetryTimeout = 3000` 我查看了服务端的相关配置地方,这里前缀要求带有seata,请问这个seata是必须要有的嘛(服务端使用nacos作为配置中心)?但是我看官网文档里写的配置,都是不带有seata开头的 <img width="914" alt="image" src="https://github.com/user-attachments/assets/eabf10f3-c2af-45d5-983e-d181f8fcc2cf" /> https://github.com/apache/incubator-seata/blob/develop/script/config-center/config.txt 二、问题 1.这种默认的无限重试,是仅针对tcc/saga这两种模式,还是at模式在全局提交失败时也会有这种机制? 2.服务端的这些配置是动态生效吗?配置是否需要带上seata开头?以及为什么server.maxCommitRetryTimeout会不生效 以上,感谢答疑。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
