[
https://issues.apache.org/jira/browse/IGNITE-7993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441843#comment-16441843
]
ASF GitHub Bot commented on IGNITE-7993:
----------------------------------------
GitHub user gromtech opened a pull request:
https://github.com/apache/ignite/pull/3860
IGNITE-7993 Striped pool can't be disabled
Added an option to disable Striped Pool and use IgniteThreadPoolExecutor
instead.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-7993-extended
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3860.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3860
----
commit d869cea40d7f3aa289459647f833819c721d8e39
Author: Roman Guseinov <gromcase@...>
Date: 2018-03-20T08:29:40Z
IGNITE-7993 Striped pool can't be disabled
* Renamed StripedExecutor to StripedExecutorImpl
* Added StripedExecutor interface
* Added StripedExecutorProxy (extends IgniteThreadPoolExecutor impl
StripedExecutor)
* Added performance optimization suggestion
* Added StripedExecutorProxyTest
----
> 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
> Assignee: Roman Guseinov
> Priority: Major
> 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)