zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umamah...@apache.org
Subject svn commit: r1452915 - in /zookeeper/bookkeeper/trunk: CHANGES.txt bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AuditorElector.java
Date Tue, 05 Mar 2013 17:45:58 GMT
Author: umamahesh
Date: Tue Mar  5 17:45:58 2013
New Revision: 1452915

URL: http://svn.apache.org/r1452915
Log:
BOOKKEEPER-559: Fix occasional failure in AuditorBookieTest. Contributed by Ivan Kelly.


Modified:
    zookeeper/bookkeeper/trunk/CHANGES.txt
    zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AuditorElector.java

Modified: zookeeper/bookkeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/CHANGES.txt?rev=1452915&r1=1452914&r2=1452915&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/CHANGES.txt (original)
+++ zookeeper/bookkeeper/trunk/CHANGES.txt Tue Mar  5 17:45:58 2013
@@ -25,6 +25,8 @@ Trunk (unreleased changes)
 
         BOOKKEEPER-569: Critical performance bug in InterleavedLedgerStorage (ivank via fpj)
 
+        BOOKKEEPER-559: Fix occasional failure in AuditorBookieTest (ivank via umamahesh)
+
     IMPROVEMENTS:
 
       BOOKKEEPER-555: Make BookieServer use Netty rather than a custom IO server (ivank)

Modified: zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AuditorElector.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AuditorElector.java?rev=1452915&r1=1452914&r2=1452915&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AuditorElector.java
(original)
+++ zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AuditorElector.java
Tue Mar  5 17:45:58 2013
@@ -212,6 +212,9 @@ public class AuditorElector {
 
         Runnable r = new Runnable() {
                 public void run() {
+                    if (!running.get()) {
+                        return;
+                    }
                     try {
                         // creating my vote in zk. Vote format is 'V_numeric'
                         createMyVote();



Mime
View raw message