hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r751050 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Date Fri, 06 Mar 2009 19:50:23 GMT
Author: stack
Date: Fri Mar  6 19:50:22 2009
New Revision: 751050

URL: http://svn.apache.org/viewvc?rev=751050&view=rev
Log:
HBASE-1247 checkAndSave doesn't Write Ahead Log

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=751050&r1=751049&r2=751050&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Fri Mar  6 19:50:22 2009
@@ -37,6 +37,7 @@
    HBASE-1245  hfile meta block handling bugs (Ryan Rawson via Stack)
    HBASE-1238  Under upload, region servers are unable
                to compact when loaded with hundreds of regions
+   HBASE-1247  checkAndSave doesn't Write Ahead Log
 
   IMPROVEMENTS
    HBASE-1089  Add count of regions on filesystem to master UI; add percentage

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=751050&r1=751049&r2=751050&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java Fri
Mar  6 19:50:22 2009
@@ -1660,9 +1660,8 @@
     validateValuesLength(b, region);
     try {
       cacheFlusher.reclaimMemcacheMemory();
-      boolean result = region.checkAndSave(b,
-        expectedValues,getLockFromId(b.getRowLock()), false);
-      return result;
+      return region.checkAndSave(b,
+        expectedValues,getLockFromId(b.getRowLock()), true);
     } catch (Throwable t) {
       throw convertThrowableToIOE(cleanup(t));
     }



Mime
View raw message