You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Chudov (JIRA)" <ji...@apache.org> on 2019/07/12 16:57:00 UTC

[jira] [Created] (IGNITE-11979) Add ability to set default parallelizm of rebuild indexes in configuration

Denis Chudov created IGNITE-11979:
-------------------------------------

             Summary: Add ability to set default parallelizm of rebuild indexes in configuration
                 Key: IGNITE-11979
                 URL: https://issues.apache.org/jira/browse/IGNITE-11979
             Project: Ignite
          Issue Type: Improvement
            Reporter: Denis Chudov
            Assignee: Denis Chudov


We can't change SchemaIndexCacheVisitorImpl#DFLT_PARALLELISM at the moment:
{code:java}
/** Default degree of parallelism. */
    private static final int DFLT_PARALLELISM = Math.min(4, Math.max(1, Runtime.getRuntime().availableProcessors() / 4));
{code}
On huge servers with a lot of cores (such as 56) we will rebuild indexes in 4 threads. I think we should have ability to set DFLT_PARALLELISM in Ignite configuration.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)