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

1.4版本 AT模式 #6689

Open
askalv opened this issue Jul 22, 2024 · 1 comment
Open

1.4版本 AT模式 #6689

askalv opened this issue Jul 22, 2024 · 1 comment

Comments

@askalv
Copy link

askalv commented Jul 22, 2024

有什么办法可以在不加全局事务注解的前提下,就可以判断我当前要操作的数据是否被其他全局事务所持有

@funky-eyes
Copy link
Contributor

目前不支持直接使用api查询相关锁,只允许通过@GlobalLock注解加上使用被seata所代理的数据源进行对数据update等操作时,如果数据被锁定会抛异常提示.
At present, it is not supported to directly use the api to query related locks. Only when updating the data through the @GlobalLock annotation and using the data source proxied by seata, an exception will be thrown if the data is locked.

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

2 participants