palashc commented on code in PR #2252: URL: https://github.com/apache/phoenix/pull/2252#discussion_r2270678434
########## 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: Should I add this before the access? ``` try { Class.forName("org.apache.phoenix.coprocessor.PhoenixRegionServerEndpoint"); } catch (ClassNotFoundException e) { throw new IOException("PhoenixRegionServerEndpoint should be loaded to use Uncovered Indexes."); } ``` -- 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