You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2024/09/15 01:11:02 UTC

(druid) branch master updated: Fix call to MemoryIntrospector in IndexerControllerContext. (#17066)

This is an automated email from the ASF dual-hosted git repository.

cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new a276871dd00 Fix call to MemoryIntrospector in IndexerControllerContext. (#17066)
a276871dd00 is described below

commit a276871dd002dcb422aa3abe724e265bf731f220
Author: Gian Merlino <gi...@gmail.com>
AuthorDate: Sat Sep 14 18:10:56 2024 -0700

    Fix call to MemoryIntrospector in IndexerControllerContext. (#17066)
    
    This was a logical conflict between #17057 and #17048.
---
 .../java/org/apache/druid/msq/indexing/IndexerControllerContext.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/IndexerControllerContext.java b/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/IndexerControllerContext.java
index e60f1c5c962..42808f64742 100644
--- a/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/IndexerControllerContext.java
+++ b/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/IndexerControllerContext.java
@@ -206,7 +206,7 @@ public class IndexerControllerContext implements ControllerContext
   {
     // Assume tasks are symmetric: workers have the same number of processors available as a controller.
     // Create one partition per processor per task, for maximum parallelism.
-    return memoryIntrospector.numProcessorsInJvm();
+    return memoryIntrospector.numProcessingThreads();
   }
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org