Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1923

ZKLocksService locks are not re-entrant like MemoryLocks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • HA
    • None

    Description

      This is because we are creating InterProcessReadWriteLock instance for every path.
      We should store InterProcessReadWriteLock and reuse for same path like MemoryLocksService.

      We should also add tests for both ZKLocksService and MemoryLocksService to verify.

      Attachments

        1. OOZIE-1923-V1.patch
          11 kB
          Purshotam Shah
        2. OOZIE-1923-V2.patch
          12 kB
          Purshotam Shah

        Issue Links

          Activity

            People

              puru Purshotam Shah
              puru Purshotam Shah
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: