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

[Subtask] Refactor the code about check and lock #2835

Closed
qqqttt123 opened this issue Apr 8, 2024 · 0 comments · Fixed by #2831
Closed

[Subtask] Refactor the code about check and lock #2835

qqqttt123 opened this issue Apr 8, 2024 · 0 comments · Fixed by #2831
Assignees
Labels
subtask Subtasks of umbrella issue

Comments

@qqqttt123
Copy link
Contributor

qqqttt123 commented Apr 8, 2024

Describe the subtask

Refactor the code about check and lock

Parent issue

#2232

@qqqttt123 qqqttt123 added the subtask Subtasks of umbrella issue label Apr 8, 2024
@qqqttt123 qqqttt123 self-assigned this Apr 8, 2024
@qqqttt123 qqqttt123 added this to the Gravitino 0.5.0 milestone Apr 8, 2024
jerryshao pushed a commit that referenced this issue Apr 8, 2024
…r authorization module (#2831)

### What changes were proposed in this pull request?

1. Add the check whether metalake exists for user and group.

2. Remove the metalake operation admin code which throws no such
metalake exception.

3. Remove the lock of operations and add a lock for
AccessControlManager.

### Why are the changes needed?
Fix #2835 

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

### How was this patch tested?
Add new UT.

---------

Co-authored-by: Heng Qin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtask Subtasks of umbrella issue
Projects
None yet
1 participant