[ 
https://issues.apache.org/jira/browse/IGNITE-26775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18075628#comment-18075628
 ] 

Ignite TC Bot commented on IGNITE-26775:
----------------------------------------

{panel:title=Branch: [pull/12435/head] Base: [master] : Possible Blockers 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache 14{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci2.ignite.apache.org/viewLog.html?buildId=9025447]]

{panel}
{panel:title=Branch: [pull/12435/head] Base: [master] : New Tests 
(19)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Security{color} [[tests 
3|https://ci2.ignite.apache.org/viewLog.html?buildId=9024903]]
* {color:#013220}SecurityTestSuite: 
OperationContextAttributesTest.testThreadContextAwareForkJoinPool - 
PASSED{color}
* {color:#013220}SecurityTestSuite: 
OperationContextAttributesTest.testThreadContextAwareForkJoinCommonPool - 
PASSED{color}
* {color:#013220}SecurityTestSuite: 
OperationContextAttributesTest.testThreadContextAwareScheduledThreadPoolExecutor
 - PASSED{color}

{color:#00008b}> Build{color} [[tests 
16|https://ci2.ignite.apache.org/viewLog.html?buildId=9025442]]
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testNewReference
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testJavaLangClass
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testMultipleViolations
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testNewReferenceFullName
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testExtendsFullName
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testFactoryMethod
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testNew
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testInitFailsWithoutClassName
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testFactoryMethodFullName
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testFactoryMethodStaticImport
 - PASSED{color}
* 
{color:#013220}org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRuleTest.testFactoryMethodReference
 - PASSED{color}
... and 5 new tests

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9024951&buildTypeId=IgniteTests24Java8_RunAll]

> Replace all uses of ThreadPools with Operation Context aware equivalents.
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-26775
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26775
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Mikhail Petrov
>            Assignee: Mikhail Petrov
>            Priority: Major
>              Labels: IEP-143, ise
>             Fix For: 2.19
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
>  According to IEP-143 Unified Operation Context Propagation, operation 
> context propagation must be integrated into the thread pools used in the 
> Ignite codebase. Thread pools must automatically capture an Operation Context 
> snapshot during task submission and restore it during task execution.
>   This forces us to restrict the usage of built-in JDK thread pool 
> implementations and replace them with Ignite-specific implementations that 
> support the Context Propagation feature.
>   The control over class usage restriction must be implemented as a rule for 
> the static code analyzer.
>   The following thread pool classes should be considered:
>   • IgniteThreadPoolExecutor
>   • IgniteStripedExecutor
>   • IgniteStripedThreadPoolExecutor
>   • ForkJoinPool
>   • ScheduledExecutorService
>   The usage of the following built-in JDK classes should be restricted:
>   • java.util.concurrent.ForkJoinPool
>   • java.util.concurrent.Executors factory methods
>   • java.util.concurrent.ThreadPoolExecutor
>   • java.util.concurrent.ScheduledThreadPoolExecutor



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to