-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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、fix transcation invalid #4509
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Thanks for the pull request. However, I'd like to learn more about what this change solves. Since there is no checked exception thrown for method |
I think rollbackfor can not be added but the @transcation annotation should be added, otherwise the transaction of the "assignNamespace" method will be invalidated |
Yes, but I think the |
OK, then I think it's reasonable to add |
ok, I modified the commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What's the purpose of this PR
Fix transaction invalid
sonar prompt bug is "assignNamespaceRoleToConsumer's" @transactional requirement is incompatible with the one for this method.
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.