We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根据官方文档下载的LCN demo正常执行没问题,但是一旦 A->B->C ,比如说B自己业务执行时间超过了1秒(用Thead.sleep(3000L)模拟,就会报错 TxManagerException: attempts to join the non-existent transaction group.
怀疑是TC的最大等待时间是1秒,阅读了源码发现也确实如此。因此想把tm-rpc-timeout 调大一点, 看了官方文档,TC中加tx-lcn.client.tm-rpc-timeout= 就可以,但是加了之后报错,发现 TxClientConfig 中的属性是私有的,所以请求应该如果调大这个参数呢?
ps:我也设法在TM中调参数,可是发现TM中是固定写死了1秒,也没办法解决。
还是说是我下载的版本环境问题?大家有遇到过用分布式锁事务的时候,当业务执行时间较长时的解决方案
The text was updated successfully, but these errors were encountered:
沃日,和LCN没关系,是dubbo默认超时时间1S。
Sorry, something went wrong.
No branches or pull requests
根据官方文档下载的LCN demo正常执行没问题,但是一旦 A->B->C ,比如说B自己业务执行时间超过了1秒(用Thead.sleep(3000L)模拟,就会报错
TxManagerException: attempts to join the non-existent transaction group.
怀疑是TC的最大等待时间是1秒,阅读了源码发现也确实如此。因此想把tm-rpc-timeout 调大一点,
看了官方文档,TC中加tx-lcn.client.tm-rpc-timeout= 就可以,但是加了之后报错,发现 TxClientConfig 中的属性是私有的,所以请求应该如果调大这个参数呢?
ps:我也设法在TM中调参数,可是发现TM中是固定写死了1秒,也没办法解决。
还是说是我下载的版本环境问题?大家有遇到过用分布式锁事务的时候,当业务执行时间较长时的解决方案
The text was updated successfully, but these errors were encountered: