HBASE-17582 Fix broken drop page cache hint (broken by HBASE-15236).

Change-Id: I2947ab979979f977db7b0c282c4aaf4eb1f26482
This commit is contained in:
Apekshit Sharma 2017-02-01 23:23:46 -08:00
parent 55d6dcaf87
commit e39e0e634a
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class StoreFileScanner implements KeyValueScanner {
List<StoreFile> sorted_files = new ArrayList<>(files);
Collections.sort(sorted_files, StoreFile.Comparators.SEQ_ID);
for (int i = 0; i < sorted_files.size(); i++) {
StoreFileReader r = sorted_files.get(i).createReader();
StoreFileReader r = sorted_files.get(i).createReader(canUseDrop);
r.setReplicaStoreFile(isPrimaryReplica);
StoreFileScanner scanner = r.getStoreFileScanner(cacheBlocks, usePread, isCompaction, readPt,
i, matcher != null ? !matcher.hasNullColumnInQuery() : false);