You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2015/10/01 15:50:27 UTC
[jira] [Commented] (IGNITE-1534) Failed to map keys for cache (all
partition nodes left the grid).
[ https://issues.apache.org/jira/browse/IGNITE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939846#comment-14939846 ]
Semen Boikov commented on IGNITE-1534:
--------------------------------------
Fixed following issues:
- GridCacheProcessor in onKernalStart should start locally configured caches and caches recieved in discovery data, but actually collection 'registeredCaches' could already contain DynamicCacheDescriptor added from onCacheChangeRequested, onKernalStart should skip these caches
- there was race in GridCachePartitionExchangeManager: collection 'pendingExchangeFuts' could be updated from discovery event worker and from thread executing onKernalStart (when locExchFut is completed)
- GridCachePartitionExchangeManager.onKernalStart0 should call onInitialExchangeComplete only for caches started in GridCacheProcessor in onKernalStart
With all these issues fixed 'Failed to map keys for cache' error does not reproduce for me anymore.
> 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)