HBASE-3976 Disable block cache on compactions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1134430 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4979140c17
commit
09d3d6bed9
|
@ -117,6 +117,7 @@ Release 0.91.0 - Unreleased
|
|||
(Alejandro Abdelnur)
|
||||
HBASE-3971 Compression.java uses ClassLoader.getSystemClassLoader()
|
||||
to load codec (Alejandro Abdelnur)
|
||||
HBASE-3976 Disable block cache on compactions (Karthik Sankarachary)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -1169,8 +1169,9 @@ public class Store implements HeapSize {
|
|||
LOG.error("Failed move of compacted file " + compactedFile.getPath(), e);
|
||||
return null;
|
||||
}
|
||||
result = new StoreFile(this.fs, p, blockcache, this.conf,
|
||||
this.family.getBloomFilterType(), this.inMemory);
|
||||
result = new StoreFile(this.fs, p,
|
||||
false, // never cache during compaction
|
||||
this.conf, this.family.getBloomFilterType(), this.inMemory);
|
||||
result.createReader();
|
||||
}
|
||||
this.lock.writeLock().lock();
|
||||
|
|
Loading…
Reference in New Issue