1
1
同问
1.application.properties seata.client.tm.default-global-transaction-timeout=300000 2.The execution time of this api is 7 seconds > Check whether the maximum transaction execution time (1 minute by default) is exceeded.
> 通过xid去tc侧查看事务决议的时间是什么时候 Go to the tc side through xid to check when the transaction resolution is @Before("transactionPointcut()") public void before(JoinPoint joinPoint) throws TransactionException { String treadName = Thread.currentThread().getName(); MethodSignature signature...
> xid 不同就不会有影响,你应该根据tc的决议时间的日志来辅助判断你的代码是否有bug It will not be affected if the xid is different. You should help determine whether there is a bug in your code according to the log of...
> tc的决议时间的日志 tc的决议时间的日志是看client端还是server端
Caused by: io.seata.core.exception.RmTransactionException: Response[ TransactionException[Could not found global transaction xid = xxxxxxxxxxxxxxx:8091:27574317618311697, may be has finished.] ] at io.seata.rm.AbstractResourceManager.branchRegister(AbstractResourceManager.java:69) at io.seata.rm.DefaultResourceManager.branchRegister(DefaultResourceManager.java:96) at io.seata.rm.datasource.ConnectionProxy.register(ConnectionProxy.java:272) at io.seata.rm.datasource.ConnectionProxy.processGlobalTransactionCommit(ConnectionProxy.java:250) ... 219 common frames omitted
[verHandlerThread_1_28_500][0;39m [36mi.s.c.e.AbstractExceptionHandler [0;39m [2m:[0;39m Catch TransactionException while do RPC, request: xid=xxxxxxxxxxxxx:8091:27574317618311697,branchType=AT,resourceId=jdbc:mysql://xxxxxxxxxx:3306/cloud_shop_service,lockKey=shop_shop_product:354259 ==> io.seata.core.exception.GlobalTransactionException: Could not found global transaction xid = xxxxxxxxxxxx:8091:27574317618311697, may be has finished. at io.seata.server.coordinator.AbstractCore.assertGlobalSessionNotNull(AbstractCore.java:126) ~[seata-server-1.4.2.jar:na] at io.seata.server.coordinator.AbstractCore.branchRegister(AbstractCore.java:76)...
在MJ频道里看到该任务已经绘图完成,并且在频道里绘图新的任务可以绘图成功

如果你是返回"status":"FAILURE",还好,现在现在"status":"SUCCESS"客户抱怨下载不了,影响体验