-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Forbid to read other topic's data in managedLedger layer #11912
Forbid to read other topic's data in managedLedger layer #11912
Conversation
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.
This is far better then the other fix.
Lgtm
Can you please port this to branch 2.7 and 2.6?
OK,I will push an individual Pr to branch 2.6 and 2.7 |
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
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.
Good work!
* forbid to read other topic's data in managedLedger layer * format code * update exception type * fix test (cherry picked from commit a7bdc5e)
Note that this commit is not cherry picked to |
* forbid to read other topic's data in managedLedger layer * format code * update exception type * fix test
Motivation
Related to #11852 #11894 #11814
The current ledgerId check just in persistentTopic level, we should add the check protection in ManagedLedger level before execute read operations.
Modification