HBASE-1718 Reuse of KeyValue during log replay could cause the wrong data to be used

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@798740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Gray 2009-07-29 00:58:40 +00:00
parent ba467d6712
commit 344da145cf
2 changed files with 4 additions and 0 deletions

View File

@ -300,6 +300,8 @@ Release 0.20.0 - Unreleased
using copies
HBASE-1647 Filter#filterRow is called too often, filters rows it shouldn't
have (Doğacan Güney via Ryan Rawson and Stack)
HBASE-1718 Reuse of KeyValue during log replay could cause the wrong
data to be used
IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -329,6 +329,8 @@ public class Store implements HConstants, HeapSize {
if (reporter != null && (editsCount % reportInterval) == 0) {
reporter.progress();
}
// Instantiate a new KeyValue to perform Writable on
val = new KeyValue();
}
if (LOG.isDebugEnabled()) {
LOG.debug("Applied " + editsCount + ", skipped " + skippedEdits +