dlmarion commented on code in PR #5369:
URL: https://github.com/apache/accumulo/pull/5369#discussion_r1977525972
##########
core/src/main/java/org/apache/accumulo/core/spi/cache/BlockCacheManager.java:
##########
@@ -112,8 +112,10 @@ public interface Configuration {
*/
public void start(Configuration conf) {
for (CacheType type : CacheType.values()) {
- BlockCache cache = this.createCache(conf, type);
- this.caches.put(type, cache);
+ if (conf.getMaxSize(type) > 0) {
+ BlockCache cache = this.createCache(conf, type);
Review Comment:
Good catch, I should have looked at the references. Fixed in 72c115d.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]