[
https://issues.apache.org/jira/browse/IGNITE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730173#comment-14730173
]
Andrey Novikov commented on IGNITE-1362:
----------------------------------------
{code}
Exception in thread "ignite-update-notifier-timer"
java.lang.IllegalStateException: Grid is in invalid state to perform this
operation. It either not started yet or has already being or have stopped
[gridName=null, state=STARTING]
at
org.apache.ignite.internal.GridKernalGatewayImpl.illegalState(GridKernalGatewayImpl.java:190)
at
org.apache.ignite.internal.GridKernalGatewayImpl.readLock(GridKernalGatewayImpl.java:90)
at
org.apache.ignite.internal.executor.GridExecutorService.execute(GridExecutorService.java:579)
at
org.apache.ignite.internal.GridUpdateNotifier.checkForNewVersion(GridUpdateNotifier.java:209)
at
org.apache.ignite.internal.IgniteKernal$UpdateNotifierTimerTask.safeRun(IgniteKernal.java:3223)
at
org.apache.ignite.internal.util.GridTimerTask.run(GridTimerTask.java:34)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
{code}
I think problem in changed executor service.
org/apache/ignite/internal/IgniteKernal.java:3209
May be need to replace something like this: {code}execSvc =
kernal.ctx.getExecutorService();{code} or pass executor to
UpdateNotifierTimerTask.
> Update notifier causes Ignite instance leak.
> --------------------------------------------
>
> Key: IGNITE-1362
> URL: https://issues.apache.org/jira/browse/IGNITE-1362
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 1.1.4
> Reporter: Vladimir Ozerov
> Assignee: Vladimir Ozerov
> Priority: Critical
> Fix For: ignite-1.4
>
>
> IgniteKernal has private non-static anonymous class for GridTimerTask which
> forces üpdate notify.
> As a result IgniteKernal instance leaks to it and stays in memory for a long
> time even after node is stopped.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)