HBASE-1247 checkAndSave doesn't Write Ahead Log

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751050 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-03-06 19:50:22 +00:00
parent 0aafa3ef8f
commit f315730de5
2 changed files with 3 additions and 3 deletions

View File

@ -37,6 +37,7 @@ Release 0.20.0 - Unreleased
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

View File

@ -1660,9 +1660,8 @@ public class HRegionServer implements HConstants, HRegionInterface, HBaseRPCErro
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));
}