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

More flexibility for InterProcessMutex extensions

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.7.0
    • Recipes
    • None

    Description

      I have a need for a durable InterProcessMutex. Main reason for this are processes with critical sections, where I can not afford to loose a lock due to session expiration. In such case, others might acquire a lock and kick in while the previous process is still running but e.g. experiencing connection issues. To kill this temporally detached process in favor of others would be too costly.

      To achieve such behavior, I need lock nodes to be created in PERSISTENT mode. This is not possible to do easily with currently implementation of locks due to few internal scoped classes and methods. I would like to change this.

      Attachments

        1. CURATOR-84.patch
          7 kB
          Jozef Vilcek

        Activity

          People

            cammckenzie Cam McKenzie
            jojovilco Jozef Vilcek
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: