ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-540

zkpython needs better tracking of handle validity

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2, 3.3.0
    • Component/s: contrib-bindings
    • Labels:
      None

      Description

      I was getting a python segfault in one of my scripts. Turns out I was closing a session handle and then reusing it (async call). This was causing python to segfault.

      zkpython should track handle state and complain, rather than crash, if the handle is invalid (closed).

        Issue Links

          Activity

          Hide
          Mahadev konar added a comment -

          committed as part of ZOOKEEPER-510.

          Show
          Mahadev konar added a comment - committed as part of ZOOKEEPER-510 .

            People

            • Assignee:
              Henry Robinson
              Reporter:
              Patrick Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development