accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1461548 - /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Date Wed, 27 Mar 2013 12:41:10 GMT
Author: ecn
Date: Wed Mar 27 12:41:10 2013
New Revision: 1461548

URL: http://svn.apache.org/r1461548
Log:
ACCUMULO-1213 master did not transition from HAVE_LOCK to SAFE_MODE

Modified:
    accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java

Modified: accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java?rev=1461548&r1=1461547&r2=1461548&view=diff
==============================================================================
--- accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
(original)
+++ accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Wed Mar 27 12:41:10 2013
@@ -1883,6 +1883,9 @@ public class Master implements LiveTServ
               if (getMasterState() == MasterState.NORMAL) {
                 setMasterState(MasterState.SAFE_MODE);
               }
+              if (getMasterState() == MasterState.HAVE_LOCK) {
+                setMasterState(MasterState.SAFE_MODE);
+              }
               break;
             case CLEAN_STOP:
               switch (getMasterState()) {



Mime
View raw message