kunal642 commented on a change in pull request #3177: [CARBONDATA-3337][CARBONDATA-3306] Distributed index server
URL:
https://github.com/apache/carbondata/pull/3177#discussion_r277707754
##########
File path: core/src/main/java/org/apache/carbondata/core/cache/CarbonLRUCache.java
##########
@@ -217,6 +217,7 @@ public boolean put(String columnIdentifier, Cacheable cacheInfo, long requiredSi
} else {
synchronized (lruCacheMap) {
addEntryToLRUCacheMap(columnIdentifier, cacheInfo);
+ currentSize = currentSize + requiredSize;
Review comment:
i dont think the required size can be negative.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services