From: SourceForge.net <no...@so...> - 2008-01-10 00:16:14
|
Patches item #1868021, was opened at 2008-01-09 15:33 Message generated for change (Comment added) made by breed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1008546&aid=1868021&group_id=209147 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: c client Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrew Kornev (akornev) Assigned to: Nobody/Anonymous (nobody) Summary: zookeeper client bug fixes & unit tests Initial Comment: The patch includes: - bug fixes for the Sync API/multi-threaded mode: zookeeper_close() resource leaks, crashes and race conditions; concurrent zookeeper operations may hang due to XID mismatch; non-thread safe logging. - changes zoo_get() signature to have buffer_len in/out parameter: zoo_get() returns the actual len of data buffer in buffer_len. - changed the signature of the watcher callback to take zhandle_t pointer as its first parameter. In MT mode, it's possible for the watch callback to be called before zookeeper_init() returned and thus the application wouldn't have a chance to get hold of the newly created zhandle object. Also included a unit tests suite (just a few at the moment) and related autoconf changes ---------------------------------------------------------------------- Comment By: Benjamin Reed (breed) Date: 2008-01-09 16:16 Message: Logged In: YES user_id=154690 Originator: NO +1 make it happen ---------------------------------------------------------------------- Comment By: Andrew Kornev (akornev) Date: 2008-01-09 15:34 Message: Logged In: YES user_id=1926652 Originator: YES File Added: big_huge_tests.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1008546&aid=1868021&group_id=209147 |