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

A serious death cycle error. 使用TreeCache时,当path的不存在时,出现死循环调用zookeeper server。

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.0
    • awaiting-response
    • Recipes
    • None
    • zookeeper server 2.4.7
      curator 2.8.0
    • Important

    Description

      1. 用法
      TreeCache treeCache = TreeCache.newBuilder(curatorFramework, path).build();
      treeCache.start();
      2. 当path不存在时,start之后会出现死循环调用zookeeper server。

      3. 日志

      [DEBUG][2019-03-13T16:12:22.190+0800][ClientCnxn.java:818] Reading reply sessionid:0x1689e19ba6a1545, packet:: clientPath:/zk/server-registry/development:/zk/server-registry/development finished:false header:: 6,4 replyHeader:: 6,18307,-101 request:: '/zk/server-registry/development,T response::
      [DEBUG][2019-03-13T16:12:22.191+0800][ClientCnxn.java:818] Reading reply sessionid:0x1689e19ba6a1545, packet:: clientPath:/zk/server-registry/development serverPath:/zk/server-registry/development finished:false header:: 7,12 replyHeader:: 7,18307,-101 request:: '/zk/server-registry/development,T response:: v{}

      Attachments

        Activity

          People

            Unassigned Unassigned
            jodechenwen jode
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified