npawar commented on a change in pull request #6466:
URL: https://github.com/apache/incubator-pinot/pull/6466#discussion_r577835166
##########
File path:
pinot-core/src/main/java/org/apache/pinot/core/query/pruner/SegmentPrunerService.java
##########
@@ -38,11 +39,21 @@
public SegmentPrunerService(SegmentPrunerConfig config) {
int numPruners = config.numSegmentPruners();
- _segmentPruners = new ArrayList<>(numPruners);
+ _segmentPruners = new ArrayList<>(numPruners + 1);
Review comment:
yeah, changed it to be that way
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]