hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r751052 - in /hadoop/hbase/branches/0.19: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Date Fri, 06 Mar 2009 19:53:07 GMT
Author: stack
Date: Fri Mar  6 19:53:07 2009
New Revision: 751052

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

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

Modified: hadoop/hbase/branches/0.19/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.19/CHANGES.txt?rev=751052&r1=751051&r2=751052&view=diff
==============================================================================
--- hadoop/hbase/branches/0.19/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.19/CHANGES.txt Fri Mar  6 19:53:07 2009
@@ -20,6 +20,7 @@
    HBASE-1185  wrong request/sec in the gui reporting wrong
    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-845   HCM.isTableEnabled doesn't really tell if it is, or not

Modified: hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=751052&r1=751051&r2=751052&view=diff
==============================================================================
--- hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
(original)
+++ hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Fri Mar  6 19:53:07 2009
@@ -1647,9 +1647,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