You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "palashc (via GitHub)" <gi...@apache.org> on 2025/08/11 23:31:16 UTC

Re: [PR] PHOENIX-7670 : Region level threadpool for uncovered index to scan da… [phoenix]

palashc commented on code in PR #2252:
URL: https://github.com/apache/phoenix/pull/2252#discussion_r2268225596


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/UncoveredGlobalIndexRegionScanner.java:
##########
@@ -178,7 +167,8 @@ protected void submitTasks(TaskBatch<Boolean> tasks) throws IOException {
     Pair<List<Boolean>, List<Future<Boolean>>> resultsAndFutures = null;
     try {
       LOGGER.debug("Waiting on index tasks to complete...");
-      resultsAndFutures = this.pool.submitUninterruptible(tasks);
+      resultsAndFutures =
+        PhoenixRegionServerEndpoint.getUncoveredIndexThreadPool(env).submitUninterruptible(tasks);

Review Comment:
   @virajjasani how should I handle the case where PRSE is not loaded?



-- 
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: issues-unsubscribe@phoenix.apache.org

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