ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Sorokin (Jira)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-12207) Inclusion of super.toString() info into some descenders of GridCacheMessage
Date Mon, 28 Oct 2019 12:06:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-12207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitriy Sorokin updated IGNITE-12207:
-------------------------------------
    Description: 
Sometimes when errors related to processing of descenders of GridCacheMessage happens, we
could need information which contained at the GridCacheMessage class, in particular deployment
information, contained if depInfo field. In the some message classes which extends GridCacheMessage,
toString() method doesn't include the 'super' part, so we haven't that information at log
error messages, as at example below:
{noformat}
2019-09-17 18:29:29.890[ERROR][query-#1577440%DPL_GRID%DplGridNodeName%][o.a.i.i.p.cache.GridCacheIoManager]
Failed to process message [senderId=4c071d12-325a-4bb1-a68d-cc910f636562, msg=GridCacheQueryRequest
[id=4922, cacheName=com.sbt.limits.data.entity.LimitTemplateV1Entity_DPL_union-module, type=SCAN,
fields=false, clause=null, clsName=null, keyValFilter=null, rdc=null, trans=null, pageSize=1024,
incBackups=false, cancel=false, incMeta=false, all=false, keepBinary=true, subjId=4c071d12-325a-4bb1-a68d-cc910f636562,
taskHash=0, part=-1, topVer=AffinityTopologyVersion [topVer=191, minorTopVer=0], super=GridCacheIdMessage
[cacheId=-724666788]]]2019-09-17 18:29:29.890[ERROR][query-#1577440%DPL_GRID%DplGridNodeName%][o.a.i.i.p.cache.GridCacheIoManager]
Failed to process message [senderId=4c071d12-325a-4bb1-a68d-cc910f636562, msg=GridCacheQueryRequest
[id=4922, cacheName=com.sbt.limits.data.entity.LimitTemplateV1Entity_DPL_union-module, type=SCAN,
fields=false, clause=null, clsName=null, keyValFilter=null, rdc=null, trans=null, pageSize=1024,
incBackups=false, cancel=false, incMeta=false, all=false, keepBinary=true, subjId=4c071d12-325a-4bb1-a68d-cc910f636562,
taskHash=0, part=-1, topVer=AffinityTopologyVersion [topVer=191, minorTopVer=0], super=GridCacheIdMessage
[cacheId=-724666788]]]
java.lang.AssertionError: null
 at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager$CachedDeploymentInfo.<init>(GridCacheDeploymentManager.java:918)
 at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager$CachedDeploymentInfo.<init>(GridCacheDeploymentManager.java:889)
 at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager.p2pContext(GridCacheDeploymentManager.java:422)
 at org.apache.ignite.internal.processors.cache.GridCacheIoManager.unmarshall(GridCacheIoManager.java:1547)
 at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:582)
 at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:386)
 at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:312)
 at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:102)
 at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:301)
 at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
 at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
 at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
 at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
{noformat}
The assertion condition which produced error above includes the value which obtained from
GridCacheMessage.depInfo.

> Inclusion of super.toString() info into some descenders of GridCacheMessage
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-12207
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12207
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.7, 2.7.6
>            Reporter: Dmitriy Sorokin
>            Assignee: Dmitriy Sorokin
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Sometimes when errors related to processing of descenders of GridCacheMessage happens,
we could need information which contained at the GridCacheMessage class, in particular deployment
information, contained if depInfo field. In the some message classes which extends GridCacheMessage,
toString() method doesn't include the 'super' part, so we haven't that information at log
error messages, as at example below:
> {noformat}
> 2019-09-17 18:29:29.890[ERROR][query-#1577440%DPL_GRID%DplGridNodeName%][o.a.i.i.p.cache.GridCacheIoManager]
Failed to process message [senderId=4c071d12-325a-4bb1-a68d-cc910f636562, msg=GridCacheQueryRequest
[id=4922, cacheName=com.sbt.limits.data.entity.LimitTemplateV1Entity_DPL_union-module, type=SCAN,
fields=false, clause=null, clsName=null, keyValFilter=null, rdc=null, trans=null, pageSize=1024,
incBackups=false, cancel=false, incMeta=false, all=false, keepBinary=true, subjId=4c071d12-325a-4bb1-a68d-cc910f636562,
taskHash=0, part=-1, topVer=AffinityTopologyVersion [topVer=191, minorTopVer=0], super=GridCacheIdMessage
[cacheId=-724666788]]]2019-09-17 18:29:29.890[ERROR][query-#1577440%DPL_GRID%DplGridNodeName%][o.a.i.i.p.cache.GridCacheIoManager]
Failed to process message [senderId=4c071d12-325a-4bb1-a68d-cc910f636562, msg=GridCacheQueryRequest
[id=4922, cacheName=com.sbt.limits.data.entity.LimitTemplateV1Entity_DPL_union-module, type=SCAN,
fields=false, clause=null, clsName=null, keyValFilter=null, rdc=null, trans=null, pageSize=1024,
incBackups=false, cancel=false, incMeta=false, all=false, keepBinary=true, subjId=4c071d12-325a-4bb1-a68d-cc910f636562,
taskHash=0, part=-1, topVer=AffinityTopologyVersion [topVer=191, minorTopVer=0], super=GridCacheIdMessage
[cacheId=-724666788]]]
> java.lang.AssertionError: null
>  at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager$CachedDeploymentInfo.<init>(GridCacheDeploymentManager.java:918)
>  at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager$CachedDeploymentInfo.<init>(GridCacheDeploymentManager.java:889)
>  at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager.p2pContext(GridCacheDeploymentManager.java:422)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.unmarshall(GridCacheIoManager.java:1547)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:582)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:386)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:312)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:102)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:301)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
>  at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
> {noformat}
> The assertion condition which produced error above includes the value which obtained
from GridCacheMessage.depInfo.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message