jamnaritesh opened a new issue, #11484:
URL: https://github.com/apache/ignite/issues/11484

   Hi, First of all thank you for the amazing project, I've been using it for 
past 4 years in our production loads and absolutely love working with it. I'm 
working on upgrading our cluster from 2.3.0 to 2.15.0 and going through the 
docs. 
   
   Just found out that there's a discrepancy between the documentation and 
defaults used in code.
   
   **The doc says:**
   _By default, rebalancing is performed in one thread on each node. It means 
that at each point in time only one thread is used to transfer batches from one 
node to another, or to process batches coming from the remote node_
   
   
https://ignite.apache.org/docs/2.15.0/data-rebalancing#configuring-rebalance-thread-pool
   
   However, I can see in the code that the default size of thread-pool will be 
minimum 4 for any machine with 16 or more cores.
   
   
https://github.com/apache/ignite/blob/2.15.0/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java#L169
   
   `public static final int DFLT_REBALANCE_THREAD_POOL_SIZE = min(4, max(1, 
AVAILABLE_PROC_CNT / 4));`
   
   
   Happy to contribute and raise a PR if my understanding is correct :)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to