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
        6 kB
        Daniel Lescohier
      2. ZOOKEEPER-1314.patch
        8 kB
        Daniel Lescohier

        Activity

        Daniel Lescohier made changes -
        Attachment ZOOKEEPER-1314.patch [ 12570841 ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Mahadev konar made changes -
        Assignee Daniel Lescohier [ dlescohier ]
        Daniel Lescohier made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note Improves zkpython synchronous api; release GIL before synchronous calls, and do not limit returned znode name to 256 bytes for synchronous create call.
        Daniel Lescohier made changes -
        Field Original Value New Value
        Attachment ZOOKEEPER-1314.patch [ 12505816 ]
        Daniel Lescohier created 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