Skip to content
New issue

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

大佬,请问为什么在transaction方法中已经等待一个事务的所有组件更新try请求状态,而在advanceProgress方法中又调用getStatus遍历一个事务的所有组件try请求状态,怎么可能会出现TXHanging状态呢?因为在transaction中必然将try请求更新状态为fail或者success #3

Open
2498298782Zql opened this issue Mar 15, 2024 · 1 comment

Comments

@2498298782Zql
Copy link

大佬,请问为什么在transaction方法中已经等待一个事务的所有组件更新try请求状态,而在advanceProgress方法中又调用getStatus遍历一个事务的所有组件try请求状态,怎么可能会出现TXHanging状态呢?因为在transaction中必然将try请求更新状态为fail或者success,这点我很奇怪,是我代码理解错误了吗?

@2498298782Zql
Copy link
Author

口误了,是在twoPhaseCommit方法已经等待一个事务的所有组件更新try请求状态为success或者fail,即调用txStore.TXUpdate方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant