HBASE-2026 NPE in StoreScanner on compaction
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69a6ef5a9a
commit
f4406121af
|
@ -139,6 +139,7 @@ Release 0.21.0 - Unreleased
|
|||
its regions around
|
||||
HBASE-2065 Cannot disable a table if any of its region is opening
|
||||
at the same time
|
||||
HBASE-2026 NPE in StoreScanner on compaction
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -255,6 +255,7 @@ class StoreScanner implements KeyValueScanner, InternalScanner, ChangedReadersOb
|
|||
|
||||
// Reset the state of the Query Matcher and set to top row
|
||||
matcher.reset();
|
||||
matcher.setRow(heap.peek().getRow());
|
||||
KeyValue kv = heap.peek();
|
||||
matcher.setRow((kv == null ? topKey : kv).getRow());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue