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

improve zkpython synchronous api implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3.3
    • None
    • contrib-bindings
    • None
    • 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.

      Attachments

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

        Activity

          People

            dlescohier Daniel Lescohier
            dlescohier 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