Skip to content

ZookeeperLockChecker.invalidateCache isn't very precise #5259

@ctubbsii

Description

@ctubbsii

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions