Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-689

Guard create/setData/delete with lock path

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.6.0
    • None
    • Framework
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kezhuw Kezhu Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: