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

ZookeeperLockChecker.invalidateCache isn't very precise #5259

Open
ctubbsii opened this issue Jan 14, 2025 · 0 comments
Open

ZookeeperLockChecker.invalidateCache isn't very precise #5259

ctubbsii opened this issue Jan 14, 2025 · 0 comments

Comments

@ctubbsii
Copy link
Member

The invalidateCache method in ZooKeeperLockChecker was changed in #5008 to match on a startsWith path rather than an exact match. It works, but may invalidate more than needed, because it matches on things more broadly. It could be modified to add the slash delimiters on the .startsWith() parameter and around the .contains() parameter so that it invalidates more narrowly. However, this probably isn't a significant improvement, and may not actually matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant