[ https://issues.apache.org/jira/browse/IGNITE-9914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657090#comment-16657090 ]
Ignite TC Bot commented on IGNITE-9914: --------------------------------------- {panel:title=Possible Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1} {color:#d04437}Inspections (AOP){color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=2121884]] {color:#d04437}Inspections (Core){color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=2121885]] {color:#d04437}_Licenses Headers_{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=2121892]] {color:#d04437}MVCC Queries{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=2121883]] * IgniteCacheMvccSqlTestSuite: CacheMvccPartitionedSqlTxQueriesTest.testIterator - 0,0% fails in last 100 master runs. {panel} [TeamCity Run All|http://ci.ignite.apache.org/viewLog.html?buildId=2116850&buildTypeId=IgniteTests24Java8_RunAll] > SubjectId for TaskEvents is incorrect for remote clients > -------------------------------------------------------- > > Key: IGNITE-9914 > URL: https://issues.apache.org/jira/browse/IGNITE-9914 > Project: Ignite > Issue Type: Bug > Components: clients > Affects Versions: 2.6 > Reporter: Andrey Aleksandrov > Assignee: Andrey Aleksandrov > Priority: Major > Fix For: 2.8 > > > In case if the task was initialized from the remote client as web console > then taskEvent.subjectId() will return the incorrect value. > It will contain the subject id for the node where this task was deployed. > Ignite already have the thread local store for subject id but looks like we > have a problem in GridTaskProcessor: > UUID subjId = getThreadContext(TC_SUBJ_ID); > But it always is null because of the correct value for TC_SUBJ_ID stored in > Map<GridTaskThreadContextKey, Object> map = thCtx.get(); > So it should be changed to > UUID subjId = (UUID)map.get(TC_SUBJ_ID); -- This message was sent by Atlassian JIRA (v7.6.3#76005)