ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1314

improve zkpython synchronous api implementation

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Component/s: contrib-bindings
    • Labels:
      None
    • Release Note:
      Hide
      Improves zkpython synchronous api; release GIL before synchronous calls, and do not limit returned znode name to 256 bytes for synchronous create call.
      Show
      Improves zkpython synchronous api; release GIL before synchronous calls, and do not limit returned znode name to 256 bytes for synchronous create call.

      Description

      Improves the following items in zkpython which are related to the Zookeeper synchronous API:

      1. For pyzoo_create, no longer limit the returned znode name to 256 bytes; dynamically allocate memory on the heap.
      2. For all the synchronous api calls, release the Python Global Interpreter Lock just before doing the synchronous call.

      I will attach the patch shortly.

      1. ZOOKEEPER-1314.patch
        8 kB
        Daniel Lescohier
      2. ZOOKEEPER-1314.patch
        6 kB
        Daniel Lescohier

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Daniel Lescohier
            Reporter:
            Daniel Lescohier
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

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

                Development