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

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

Open
jira-importer opened this issue Sep 4, 2023 · 2 comments
Open

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

jira-importer opened this issue Sep 4, 2023 · 2 comments

Comments

@jira-importer
Copy link
Collaborator

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
@jira-importer
Copy link
Collaborator Author

tison:

There is a related discussion at CURATOR-542 and I ever implement something like a transactional store at apache/flink#9878.

@jira-importer
Copy link
Collaborator Author

[Originally related to: CURATOR-604]

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

No branches or pull requests

1 participant