Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
None
-
Reviewed
Description
The HBASE-17655 remove the MemStoreScanner and it causes that the MemStore#getScanner(readpt) returns multi KeyValueScanner which consist of active, snapshot and pipeline. But StoreScanner only remove one mem scanner when refreshing current scanners.
for (int i = 0; i < currentScanners.size(); i++) { if (!currentScanners.get(i).isFileScanner()) { currentScanners.remove(i); break; } }
The older scanners kept in the StoreScanner will hinder GC from releasing memory and lead to multiple scans on the same data.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-18145 The flush may cause the corrupt data for reading
- Closed