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

ZOOKEEPER-2590 exists() should check read ACL permission #2093

Merged
merged 2 commits into from Dec 4, 2023

Conversation

anmolnar
Copy link
Contributor

No description provided.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anmolnar
Copy link
Contributor Author

I retriggered the tests, but it seems to me that we need to fix some C++ tests. @ztzg Would you please give a hand here?

@anmolnar
Copy link
Contributor Author

anmolnar commented Dec 1, 2023

@eolivelli I need to make a tiny change on the patch, because we shouldn't throw exception if the znode doesn't exist in exists(). We should skip ACL check in this case and return proper ExistsResponse. PTAL.
cc @phunt

@eolivelli
Copy link
Contributor

LGTM

@anmolnar anmolnar merged commit ceebda9 into apache:master Dec 4, 2023
13 checks passed
asfgit pushed a commit that referenced this pull request Dec 4, 2023
ZOOKEEPER-2590:exists() should check read ACL permission
ZOOKEEPER-2590. Skip ACL check if znode is missing
Reviewers: eolivelli
Author: anmolnar
Closes #2093 from anmolnar/ZOOKEEPER-2590

(cherry picked from commit ceebda9)
Signed-off-by: Andor Molnar <andor@apache.org>
asfgit pushed a commit that referenced this pull request Dec 4, 2023
ZOOKEEPER-2590:exists() should check read ACL permission
ZOOKEEPER-2590. Skip ACL check if znode is missing
Reviewers: eolivelli
Author: anmolnar
Closes #2093 from anmolnar/ZOOKEEPER-2590

(cherry picked from commit ceebda9)
Signed-off-by: Andor Molnar <andor@apache.org>
asfgit pushed a commit that referenced this pull request Dec 4, 2023
ZOOKEEPER-2590:exists() should check read ACL permission
ZOOKEEPER-2590. Skip ACL check if znode is missing
Reviewers: eolivelli
Author: anmolnar
Closes #2093 from anmolnar/ZOOKEEPER-2590

(cherry picked from commit ceebda9)
Signed-off-by: Andor Molnar <andor@apache.org>
@anmolnar anmolnar deleted the ZOOKEEPER-2590 branch December 4, 2023 12:34
AlphaCanisMajoris pushed a commit to AlphaCanisMajoris/zookeeper that referenced this pull request Mar 28, 2024
ZOOKEEPER-2590:exists() should check read ACL permission
ZOOKEEPER-2590. Skip ACL check if znode is missing
Reviewers: eolivelli
Author: anmolnar
Closes apache#2093 from anmolnar/ZOOKEEPER-2590
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants