incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1231043 - /incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
Date Fri, 13 Jan 2012 13:02:34 GMT
Author: ecn
Date: Fri Jan 13 13:02:34 2012
New Revision: 1231043

URL: http://svn.apache.org/viewvc?rev=1231043&view=rev
Log:
ACCUMULO-293 - turn a close consistency check into a ProblemReport and close anyhow

Modified:
    incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java

Modified: incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java?rev=1231043&r1=1231042&r2=1231043&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
(original)
+++ incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
Fri Jan 13 13:02:34 2012
@@ -2414,8 +2414,10 @@ public class Tablet {
           UtilWaitThread.sleep(500);
         }
       }
-      if (err != null)
-        throw err;
+      if (err != null) {
+        ProblemReports.getInstance().report(new ProblemReport(extent.getTableId().toString(),
ProblemType.TABLET_LOAD, this.extent.toString(), err));
+        log.error("Tablet closed consistency check has failed for " + this.extent + " giving
up and closing");
+      }
     }
     
     try {



Mime
View raw message