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

In python bindings, zookeeper.set2() should return a stat dict but instead returns None

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.3
    • 3.4.0
    • contrib-bindings
    • All environments.

    • Reviewed

    Description

      There is a small bug in the python bindings, specifically with the zookeeper.set2() call. This method should return a stat dictionary, but actually returns None. The fix is a one-character change to zookeeper.c such that the return value is '&stat' rather than 'stat'.

      Attachments

        1. ZOOKEEPER-1028.patch
          1 kB
          Chris Medaglia
        2. ZOOKEEPER-1028.diff
          2 kB
          Ivan Kelly

        Activity

          People

            cmedaglia Chris Medaglia
            cmedaglia Chris Medaglia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified