You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2018/03/20 02:22:00 UTC

[jira] [Created] (IGNITE-7993) Striped pool can't be disabled

Valentin Kulichenko created IGNITE-7993:
-------------------------------------------

             Summary: Striped pool can't be disabled
                 Key: IGNITE-7993
                 URL: https://issues.apache.org/jira/browse/IGNITE-7993
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 2.4
            Reporter: Valentin Kulichenko
             Fix For: 2.5


Javadoc for {{IgniteConfiguration#setStripedPoolSize}} states that striped pool can be disabled by providing value less or equal than zero:
{noformat}
If set to non-positive value then requests get processed in system pool.
{noformat}
However, doing that prevents node from startup, it fails with the following exception:
{noformat}
Caused by: class org.apache.ignite.IgniteCheckedException: Invalid stripedPool thread pool size (must be greater than 0), actual value: 0
	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.validateThreadPoolSize(IgnitionEx.java:2061)
	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1799)
	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1716)
	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1144)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:664)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
	at org.apache.ignite.Ignition.start(Ignition.java:322)
	... 7 more
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)