Browse files

add 1.2.7 CHANGELOG entry

[ci skip]
  • Loading branch information...
1 parent 09abba4 commit 5f923fdbcb66feb9d6a77a374fe18d1385bf2503 @slyphon slyphon committed Jun 5, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 CHANGELOG
@@ -1,3 +1,22 @@
+v1.2.7 further lock adjustments, deadlock risk reduction
+ * Refactor ZookeeperBase to not hold onto the mutex while waiting
+ for the dispatch thread to exit and the CZookeeper instance to close.
+ Instead, lock, nil out @czk, and unlock (which will cause all calls to
+ raise NotConnected), and then carry on with the shutdown procedure, greatly
+ reducing the chances of a deadlock. Also add a hardcoded 30 second timeout
+ to the join of the shutdown thread, that way we won't hang indefinitely in
+ the case of an unforseen condition.
+ * Improve the CZookeeper#wait_until_connected to use a deadline approach
+ to waiting for both running and connected states. Also, handle the
+ 'nil' (wait forever) timeout properly.
+ * Wake all waiting threads on all ConditionVariables when CZookeeper#shut_down!
+ is called
+v1.2.6 fix build on fedora
v1.2.5 cleanup locking in ZookeeperBase
* There were several situations where we would hold the lock before calling

0 comments on commit 5f923fd

Please sign in to comment.