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

In Python binding, get_children (and get and exists, and probably others) with expired session doesn't raise exception properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.3
    • 3.3.6, 3.4.4, 3.5.0
    • contrib-bindings
    • None
    • Mac OS X (at least)

    • Reviewed

    Description

      In Python binding, get_children (and get and exists, and probably others) with expired session doesn't raise exception properly.

      >>> zookeeper.state(h)
      -112
      >>> zookeeper.get_children(h, '/')
      Traceback (most recent call last):
      File "<console>", line 1, in <module>
      SystemError: error return without exception set

      Let me know if you'd like me to work on a patch.

      Attachments

        1. ZOOKEEPER-1318.patch
          0.7 kB
          Henry Robinson
        2. ZOOKEEPER-1318.patch
          0.9 kB
          Henry Robinson

        Activity

          People

            henryr Henry Robinson
            j1m Jim Fulton
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: