somandal commented on code in PR #15126:
URL: https://github.com/apache/pinot/pull/15126#discussion_r1970673685


##########
pinot-segment-local/src/test/java/org/apache/pinot/segment/local/utils/SegmentOperationsThrottlerTest.java:
##########
@@ -308,11 +308,13 @@ public void testServingQueriesDisabledWithAcquireRelease()
               ? Integer.parseInt(
               
CommonConstants.Helix.DEFAULT_MAX_SEGMENT_STARTREE_PREPROCESS_PARALLELISM_BEFORE_SERVING_QUERIES)
               : 
Integer.parseInt(CommonConstants.Helix.DEFAULT_MAX_SEGMENT_DOWNLOAD_PARALLELISM_BEFORE_SERVING_QUERIES);
+      // Default is too high: Integer.MAX_VALUE, take a large number of 
permits to ensure we don't block

Review Comment:
   done



##########
pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java:
##########
@@ -252,26 +252,28 @@ public static class Instance {
     // Preprocess throttle configs
     public static final String CONFIG_OF_MAX_SEGMENT_PREPROCESS_PARALLELISM =
         "pinot.server.max.segment.preprocess.parallelism";
-    public static final String DEFAULT_MAX_SEGMENT_PREPROCESS_PARALLELISM = 
String.valueOf(100);
+    public static final String DEFAULT_MAX_SEGMENT_PREPROCESS_PARALLELISM = 
String.valueOf(Integer.MAX_VALUE);

Review Comment:
   done



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to