[
https://issues.apache.org/jira/browse/IGNITE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936976#comment-14936976
]
Semen Boikov commented on IGNITE-1534:
--------------------------------------
Got another error trying to reproduce this issue:
{noformat}
[16:33:55]W: [org.apache.ignite:ignite-core]
java.lang.AssertionError: Invalid topology version
[topVer=AffinityTopologyVersion [topVer=3, minorTopVer=0],
exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=2,
minorTopVer=0], nodeId=10a04c3e, evt=NODE_JOINED]]
[16:33:55]W: [org.apache.ignite:ignite-core] at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.updateTopologyVersion(GridDhtPartitionTopologyImpl.java:213)
[16:33:55]W: [org.apache.ignite:ignite-core] at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:719)
[16:33:55]W: [org.apache.ignite:ignite-core] at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1204)
[16:33:55]W: [org.apache.ignite:ignite-core] at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
{noformat}
Looks like a race in exchanges handling.
> Failed to map keys for cache (all partition nodes left the grid).
> -----------------------------------------------------------------
>
> Key: IGNITE-1534
> URL: https://issues.apache.org/jira/browse/IGNITE-1534
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Andrey Gura
> Assignee: Semen Boikov
> Fix For: ignite-1.5
>
>
> During testing changes related with IGNITE-1171 the following problem was
> found:
> {panel}
> Unhandled exception
> org.apache.ignite.cache.CacheServerNotFoundException: Failed to map keys for
> cache (all partition nodes left the grid).
> at
> org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1612)
> at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:1744)
> at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.getAndPut(IgniteCacheProxy.java:1043)
> at io.vertx.spi.cluster.ignite.impl.MapImpl.put(MapImpl.java:85)
> at io.vertx.core.impl.HAManager.<init>(HAManager.java:147)
> at io.vertx.core.impl.VertxImpl.lambda$null$143(VertxImpl.java:156)
> at io.vertx.core.impl.VertxImpl$$Lambda$35/2107573573.handle(Unknown
> Source)
> at
> io.vertx.core.net.impl.NetServerImpl.lambda$null$34(NetServerImpl.java:252)
> at
> io.vertx.core.net.impl.NetServerImpl$$Lambda$39/1662210125.handle(Unknown
> Source)
> at
> io.vertx.core.impl.ContextImpl.lambda$wrapTask$20(ContextImpl.java:324)
> at io.vertx.core.impl.ContextImpl$$Lambda$31/1504729381.run(Unknown
> Source)
> at
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
> at
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: class
> org.apache.ignite.internal.cluster.ClusterTopologyServerNotFoundException:
> Failed to map keys for cache (all partition nodes left the grid).
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture$UpdateState.map(GridNearAtomicUpdateFuture.java:808)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.mapOnTopology(GridNearAtomicUpdateFuture.java:422)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.access$100(GridNearAtomicUpdateFuture.java:73)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture$1$1.run(GridNearAtomicUpdateFuture.java:406)
> at
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6427)
> at
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:788)
> at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> ... 1 more
> {panel}
> This exception occures on topology from 3 nodes that start dynamic cache with
> the same configuration on all nodes and performs {{put}} operation. All 3
> nodes are alive.
> The problem reproduces periodically.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)