ChangeLog 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Release 2.1.1
  2. 2008-04-30 Andrew Kornev <akornev@users.sourceforge.net>
  3. * changed the distributino package name to "c-client-src"
  4. Release 2.1.0
  5. 2008-04-30 Andrew Kornev <akornev@users.sourceforge.net>
  6. * added the client latency diagnostics; the client prints a warning when the
  7. reponse latency exceeds 20ms
  8. * modified logging format to report the znode path for which the zookeeper
  9. operation is called
  10. * fixed a minor bug where error messages were missing for some of the newer
  11. zookeeper error codes (ZCLOSING and ZNOTHING).
  12. * improved logging by adding the XID to the message to make it easy to match
  13. requests to responses
  14. * fixed the bug causing sporadic session termination and timeouts
  15. * added a new return code to zookeeper_process() -- ZNOTHING --
  16. that indicates that the socket has no more data to read
  17. * more unit tests added
  18. Release 1.1.3
  19. 2008-02-07 Andrew Kornev <akornev@users.sourceforge.net>
  20. * get_xid() is not thread-safe (xid initialization race condition
  21. in the multi-threaded mode).
  22. * the I/O thread doesn’t automatically terminate on AUTH_FAILURE and
  23. SESSION_EXPIRED events.
  24. * all session events should be processed on the completion thread.
  25. * PING operation doesn’t atomically enqueue the completion and
  26. send buffers like other operations do.
  27. * corrected zookeeper_init() doxygen docs.
  28. * new unit tests added.
  29. Release 1.1.2
  30. 2008-01-24 Andrew Kornev <akornev@users.sourceforge.net>
  31. * fixed a race condition caused by the code in zookeeper_process()
  32. and free_completions() setting sc->complete to 1 without proper
  33. synchronization;
  34. * fixed zoo_get() not updating buffer_len value with the actual
  35. buffer length on return; added missing enter_critical/leave_critical
  36. calls to the async ZK operations.
  37. * Replaced select() with poll() to fix the problem with the FD_SET
  38. macro causing stack corruption for FDs higher than 1024
  39. * Added zoo_set_log_stream() to the public API. The function allows
  40. applications to specify a different log file.
  41. * Removed unused declarations from zookeeper.h (ACL related)
  42. * changed zoo_get() signature to take a pointer to buffer length.
  43. The function sets the parameter to the actual data length upon return.
  44. * the watcher callback now takes the zhandle as its first parameter. This
  45. is to avoid a race condition in the multi-threaded client when a watcher
  46. is called before zookeeper_init() has returned.
  47. * fixed zookeeper_close() resource leaks and race conditions,
  48. fixed the race condition causing xid mismatch.
  49. * added support for cppunit, added new targets: "check" and "run-check"
  50. to build and run unit tests.
  51. * Changed the signature of zookeeper_init(): it now takes a context pointer
  52. as a parameter. This is to avoid a race condition in the multi-threaded client.
  53. * Using a self-pipe rather than SIGUSR1 to wake up select() in the I/O thread
  54. * Added the doxygen target to the autoconf scripts
  55. * Pulled out the logging functionality from zookeeper.c to zk_log.c/.h.
  56. Fixed a minor issue with PING responses being unnecessarily put on
  57. the completion queue rather than simply dropped. Make use of DLL_EXPORT
  58. symbol for building shared lib on cygwin.
  59. * Implemented new Zookeeper operation sync() to flush the leader channel
  60. to ensure that all updates have reached the followers.
  61. * Synchronous methods not being handled properly on disconnect
  62. * breed: fixed an incorrect parameter passed to zookeeper API by
  63. the Sync API wrapper functions
  64. * breed: the set and delete commands now support both Sync and Async API.
  65. Prefix the command name with an 'a' to call the Async API: aset, adelete
  66. * Make sure mutexes and condition variables are properly initialized
  67. and destroyed
  68. * Fixed zookeeper_close() causing core dumps with mt_adaptor
  69. Release 1.0.0
  70. 2007-11-27 Andrew Kornev <akornev@users.sourceforge.net>
  71. * configure.ac and Makefile.am added support for GNU autotools
  72. * recordio.c/.h updated jute IO routines to use bit-explicit integer types
  73. (int32_t vs. int, and int64_t vs. long long)
  74. * README rough draft