ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1085) disco: Concurrent modification of 'registeredCaches' in GridDiscoveryManager
Date Thu, 09 Jul 2015 14:57:04 GMT

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

Denis Magda updated IGNITE-1085:
--------------------------------
    Assignee: Semen Boikov  (was: Denis Magda)

> disco: Concurrent modification of 'registeredCaches' in GridDiscoveryManager
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-1085
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1085
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Semen Boikov
>            Assignee: Semen Boikov
>             Fix For: sprint-7
>
>
> Looks like GridDiscoveryManager.registeredCaches is updated concurrently from GridDiscoveryManager.start()
and from event thread.
> Reproduces from time to time in IgniteDynamicCacheStartSelfTest.testStartStopWithClientJoin:
> {noformat}
> org.apache.ignite.IgniteCheckedException: null
>     at java.util.HashMap$HashIterator.nextEntry(HashMap.java:839)
>     at java.util.HashMap$EntryIterator.next(HashMap.java:880)
>     at java.util.HashMap$EntryIterator.next(HashMap.java:878)
>     at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoCache.<init>(GridDiscoveryManager.java:2242)
>     at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoCache.<init>(GridDiscoveryManager.java:2121)
>     at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:528)
>     at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1369)
>     at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:800)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1538)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1405)
>     at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:931)
>     at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:477)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:663)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:648)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:625)
>     at org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartSelfTest.access$1200(IgniteDynamicCacheStartSelfTest.java:45)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message