apache / apache/curator

[CURATOR-689] Guard create/setData/delete with lock path

Open
#1,204 2 comments 0 reactions 0 assignees View on GitHub
imported-jira-issue rfe
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Curator has several lock recipes(LeaderLatch, InterProcessMutex and etc.), but it has no simple intuitive method to guard modification under lock path. I am certain that CuratorFramework.transaction is capable of this, but I still want a simple way to archive this.

I implemented one before in rust, but it might be relative hard to it to cooperate well with existing `CreateBuilder`, 'SetDataBuilder` and `DeleteBuilder`.

It need time to explore, post it here for memories.

---
Originally reported by kezhuw, imported from: Guard create/setData/delete with lock path


  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.