Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4314

Can not get real exception when getChildren more than 4M

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6.0
    • None
    • java client
    • None

    Description

      When use zkClient or curator listener one zookeeper node more than 4M will cause endless loop,because they catch error code for KeeperException.Code.ConnectionLoss(-4) then will retry getChildren method after a monent。 The root reason for zookeeper invoke readLength method occor IOException for “Package len is out of range” but when deal with the following process zookeeper changed the real exception to ConnectionLoss。Can See the attached file

      Attachments

        1. zookeeper problem.docx
          203 kB
          Li Jian

        Issue Links

          Activity

            People

              Unassigned Unassigned
              qzballack Li Jian
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: