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

Issuing a guaranteed delete can cause stack overflow if ZK is not reachable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.2
    • awaiting-response
    • Framework
    • None

    Description

      For guaranteed deletes (eg. lock releases) that fail, the FailedDeleteManager issues another guaranteed delete here:
      https://github.com/apache/curator/blob/master/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedDeleteManager.java#L35

      In an environment where ZK has the potential to be down for an extended period of time, this has the potential to recurse until there is a stack overflow (particularly if the application is using multiple locks.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jasdeep Jasdeep Hundal
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: