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

zkpython limited to 256 handles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2, 3.3.0
    • contrib-bindings
    • None
    • Reviewed

    Description

      zkpython is currently limited to a max of 256 total handles - not 256 open handles, but rather 256 total handles created
      over the lifetime of the python application.

      In general this isn't a real issue, however in the case of a long lived application which polls the cluster periodically (closing
      the session btw calls) this is an issue.

      it would be great if the slots could be reused? or perhaps a more complex structure, such as a linked list, which would allow
      dynamic growth/shrinkage of the handle list.

      Also see ZOOKEEPER-540

      Attachments

        1. ZOOKEEPER-541.patch
          8 kB
          Henry Robinson

        Issue Links

          Activity

            People

              henryr Henry Robinson
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: