hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r808558 - in /hadoop/zookeeper/branches/branch-3.2: CHANGES.txt src/java/main/org/apache/zookeeper/server/quorum/Leader.java
Date Thu, 27 Aug 2009 18:08:23 GMT
Author: phunt
Date: Thu Aug 27 18:08:23 2009
New Revision: 808558

URL: http://svn.apache.org/viewvc?rev=808558&view=rev
Log:
ZOOKEEPER-518. DEBUG message for outstanding proposals in leader should be moved to trace.

Modified:
    hadoop/zookeeper/branches/branch-3.2/CHANGES.txt
    hadoop/zookeeper/branches/branch-3.2/src/java/main/org/apache/zookeeper/server/quorum/Leader.java

Modified: hadoop/zookeeper/branches/branch-3.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/CHANGES.txt?rev=808558&r1=808557&r2=808558&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/CHANGES.txt (original)
+++ hadoop/zookeeper/branches/branch-3.2/CHANGES.txt Thu Aug 27 18:08:23 2009
@@ -64,6 +64,9 @@
   ZOOKEEPER-508. proposals and commits for DIFF and Truncate messages from the 
   leader to followers is buggy. (mahadev and ben via mahadev)
 
+  ZOOKEEPER-518. DEBUG message for outstanding proposals in leader should be
+   moved to trace. (phunt)
+
 IMPROVEMENTS:
 
 NEW FEATURES:

Modified: hadoop/zookeeper/branches/branch-3.2/src/java/main/org/apache/zookeeper/server/quorum/Leader.java
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/java/main/org/apache/zookeeper/server/quorum/Leader.java?rev=808558&r1=808557&r2=808558&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/java/main/org/apache/zookeeper/server/quorum/Leader.java
(original)
+++ hadoop/zookeeper/branches/branch-3.2/src/java/main/org/apache/zookeeper/server/quorum/Leader.java
Thu Aug 27 18:08:23 2009
@@ -410,14 +410,14 @@
     synchronized public void processAck(long sid, long zxid, SocketAddress followerAddr)
{
         boolean first = true;
         
-        if (LOG.isDebugEnabled()) {
-            LOG.debug("Ack zxid: 0x" + Long.toHexString(zxid));
+        if (LOG.isTraceEnabled()) {
+            LOG.trace("Ack zxid: 0x" + Long.toHexString(zxid));
             for (Proposal p : outstandingProposals.values()) {
                 long packetZxid = p.packet.getZxid();
-                LOG.debug("outstanding proposal: 0x"
+                LOG.trace("outstanding proposal: 0x"
                         + Long.toHexString(packetZxid));
             }
-            LOG.debug("outstanding proposals all");
+            LOG.trace("outstanding proposals all");
         }
         
         if (outstandingProposals.size() == 0) {



Mime
View raw message