chenboat commented on code in PR #9423:
URL: https://github.com/apache/pinot/pull/9423#discussion_r975608180
##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/BaseTableDataManager.java:
##########
@@ -100,6 +103,7 @@ public abstract class BaseTableDataManager implements
TableDataManager {
// Fixed size LRU cache with TableName - SegmentName pair as key, and
segment related
// errors as the value.
protected LoadingCache<Pair<String, String>, SegmentErrorInfo> _errorCache;
+ protected Cache<String, String> _deletedSegments;
Review Comment:
Add javadoc about the usage of this cache?
##########
pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java:
##########
@@ -191,8 +192,9 @@ private DataTable processQueryInternal(ServerQueryRequest
queryRequest, Executor
}
List<String> segmentsToQuery = queryRequest.getSegmentsToQuery();
- List<String> missingSegments = new ArrayList<>();
- List<SegmentDataManager> segmentDataManagers =
tableDataManager.acquireSegments(segmentsToQuery, missingSegments);
+ List<String> unAcquiredSegments = new ArrayList<>();
Review Comment:
notAcquiredSegments instead of unAcquiredSegments.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]