palashc commented on code in PR #2252: URL: https://github.com/apache/phoenix/pull/2252#discussion_r2270817163
########## 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 but I am initializing the thread pool lazily when a scanner needs it, not during PRSE#start since ThreadPoolManager#getExecutor needs a RegionCoprocessorEnvironment which we do not have during PRSE#start -- 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-unsubscr...@phoenix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org