Jelajahi Sumber

ZOOKEEPER-651:Log exception trace in QuorumCnxManager.SendWorker (flavio via henry)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@900939 13f79535-47bb-0310-9956-ffa450edef68
Henry Robinson 15 tahun lalu
induk
melakukan
af79cf3ae0

+ 6 - 3
CHANGES.txt

@@ -7,9 +7,6 @@ BUGFIXES:
 Backward compatible changes:
 
 BUGFIXES: 
-  ZOOKEEPER-610. cleanup final fields, esp those used for locking
-  (phunt via henry)
-
   ZOOKEEPER-469. make sure CPPUNIT_CFLAGS isn't overwritten
   (chris via mahadev)
 
@@ -167,6 +164,9 @@ BUGFIXES:
   ZOOKEEPER-587.  client should log timeout negotiated with server
   (phunt via mahadev)
 
+  ZOOKEEPER-610. cleanup final fields, esp those used for locking
+  (phunt via henry)
+
   ZOOKEEPER-614. Improper synchronisation in getClientCnxnCount
   (henry via mahadev) 
 
@@ -196,6 +196,9 @@ BUGFIXES:
 
   ZOOKEEPER-644. Nightly build failed on hudson. (pat via mahadev)
 
+  ZOOKEEPER-651: Log exception trace in QuorumCnxManager.SendWorker 
+  (flavio via henry)
+
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   "socket reuse" and failure to close client (phunt via mahadev)

+ 1 - 1
src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java

@@ -556,7 +556,7 @@ public class QuorumCnxManager {
                 ByteBuffer b = lastMessageSent.get(sid); 
                 if(b != null) send(b);   
             } catch (IOException e) {
-                LOG.error("Failed to send last message. Shutting down thread.");
+                LOG.error("Failed to send last message. Shutting down thread.", e);
                 this.finish();
             }