diff --git a/src/java/org/apache/cassandra/io/storage/StorageProvider.java b/src/java/org/apache/cassandra/io/storage/StorageProvider.java index f3e5271c0c6c..51405e58b8db 100644 --- a/src/java/org/apache/cassandra/io/storage/StorageProvider.java +++ b/src/java/org/apache/cassandra/io/storage/StorageProvider.java @@ -331,7 +331,10 @@ public FileHandle.Builder fileHandleBuilderFor(IndexComponent.ForRead component) { builder = builder.adviseRandom(); } - return builder.mmapped(true); + + return builder.mmapped(true) + .withChunkCache(ChunkCache.instance); + } @Override