Skip to content

Conversation

@ddanielr
Copy link
Contributor

Modifies ZooZap to use the same deletion logic as
ServiceLock.

This PR contains just the zlock consolidation commit from #6049.

Modifies ZooZap to use the same deletion logic as
ServiceLock.
@ddanielr ddanielr added this to the 2.1.5 milestone Jan 17, 2026
Copy link
Contributor

@dlmarion dlmarion left a comment

Choose a reason for hiding this comment

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

Initial review.

Adds input path validation to deleteLocks and ensures that all locks are
removed for a given server location.

Cannot use deleteLock as that only deletes the first child lock for a
given path.
@ddanielr ddanielr merged commit e689a8f into apache:2.1 Jan 20, 2026
8 checks passed
@ddanielr ddanielr deleted the refactor/consolidate-zlock-code branch January 20, 2026 15:51
@ddanielr
Copy link
Contributor Author

merged this into main using a no-opt merge as the merge conflicts were excessive.
Will need to open a separate PR against main to include these changes.

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

Successfully merging this pull request may close these issues.

2 participants