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

[#6306] fix(authz): Fix the OOM of JdbcAuthorizationPlugin #6312

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

jerqi
Copy link
Contributor

@jerqi jerqi commented Jan 17, 2025

What changes were proposed in this pull request?

Fix the OOM of JdbcAuthorizationPlugin. In old implement, we will call roleUpdate in the roleCreate. We will repeated call, they will cause oom.

Why are the changes needed?

Fix: #6306

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Added a new UT.

@jerqi jerqi requested review from xunliu and yuqi1129 January 17, 2025 07:17
@jerqi jerqi self-assigned this Jan 17, 2025
@jerqi jerqi added the branch-0.8 Automatically cherry-pick commit to branch-0.8 label Jan 17, 2025
@yuqi1129 yuqi1129 merged commit 7945692 into apache:main Jan 17, 2025
25 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 17, 2025
### What changes were proposed in this pull request?

Fix the OOM of JdbcAuthorizationPlugin. In old implement, we will call
roleUpdate in the roleCreate. We will repeated call, they will cause
oom.

### Why are the changes needed?

Fix: #6306 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?
Added a new UT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-0.8 Automatically cherry-pick commit to branch-0.8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug report] JdbcAuthorizationPlugin will cause OOM
2 participants