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 upsert() prioritizes set() before create() #663

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

mejroslav
Copy link
Contributor

@mejroslav mejroslav commented Jan 13, 2025

ZooKeeper method upsert() now prioritizes set() before create(). To prevent race conditions, when set() fails but the node is created before create() is called, set() method is called again.

@mejroslav mejroslav requested a review from ateska January 13, 2025 11:12
@mejroslav mejroslav self-assigned this Jan 14, 2025
@mejroslav mejroslav added the enhancement New feature or request label Jan 14, 2025
@mejroslav mejroslav merged commit 60f0255 into master Jan 14, 2025
10 checks passed
@mejroslav mejroslav deleted the feature/zookeeper-upsert branch January 14, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants