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

Can not get real exception when getChildren more than 4M

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.4.6
    • 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 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。

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: