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_r277711192
##########
File path: core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java
##########
@@ -467,6 +467,33 @@ public void clearInvalidSegments(CarbonTable carbonTable, List<Segment> segments
}
+ public void refreshSegmentCacheIfRequired(CarbonTable carbonTable,
+ SegmentUpdateStatusManager updateStatusManager, List<Segment> filteredSegmentToAccess)
+ throws IOException {
+ List<String> toBeCleanedSegments = new ArrayList<>();
+ for (Segment filteredSegment : filteredSegmentToAccess) {
Review comment:
u mean filteredSegmentToAccess.map {...}???
----------------------------------------------------------------
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