You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by siva <si...@bizruntime.com> on 2021/02/03 07:12:06 UTC
Failed to execute the cache operation (all partition owners are
left the grid partition data has been lost))
Hi,
I have .Net Ignite client and server app Ignite v2.9.1. we have a 2 node
cluster,
recently we are upgraded ignite 2.7.6 to ignite 2.9.1 after using this
version we are facing issues frequently.
[req=o.a.i.i.processors.platform.client.cache.ClientCacheGetRequest@bb5fb96]
javax.cache.CacheException: class
org.apache.ignite.internal.processors.cache.CacheInvalidStateException:
Failed to execute the cache operation (all partition owners have left the
grid, partition data has been lost) [cacheName=CREDENTIALS, partition=759,
key=UserKeyCacheObjectImpl [part=759,
val=SqlCredentialAdo-Althing-energyapp, hasValBytes=false]]
at
org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1270)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.cacheException(IgniteCacheProxyImpl.java:2083)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:1110)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.get(GatewayProtectedCacheProxy.java:676)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.platform.client.cache.ClientCacheGetRequest.process(ClientCacheGetRequest.java:41)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.platform.client.ClientRequestHandler.handle(ClientRequestHandler.java:99)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:202)
[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:56)
[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279)
[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97)
[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70)
[ignite-core-2.9.1.jar:2.9.1]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:1.8.0_181]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by:
org.apache.ignite.internal.processors.cache.CacheInvalidStateException:
Failed to execute the cache operation (all partition owners have left the
grid, partition data has been lost) [cacheName=CREDENTIALS, partition=759,
key=UserKeyCacheObjectImpl [part=759,
val=SqlCredentialAdo-Althing-energyapp, hasValBytes=false]]
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTopologyFutureAdapter.validateKey(GridDhtTopologyFutureAdapter.java:209)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTopologyFutureAdapter.validateCache(GridDhtTopologyFutureAdapter.java:128)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.validate(GridPartitionedSingleGetFuture.java:859)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.map(GridPartitionedSingleGetFuture.java:277)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.init(GridPartitionedSingleGetFuture.java:244)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAsync0(GridDhtAtomicCache.java:1471)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$1600(GridDhtAtomicCache.java:141)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$16.apply(GridDhtAtomicCache.java:477)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$16.apply(GridDhtAtomicCache.java:475)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.asyncOp(GridDhtAtomicCache.java:779)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAsync(GridDhtAtomicCache.java:475)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4844)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.repairableGet(GridCacheAdapter.java:4810)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1469)
~[ignite-core-2.9.1.jar:2.9.1]
at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:1107)
~[ignite-core-2.9.1.jar:2.9.1]
... 13 more
Can you please assit me with the above issue thanks in advance.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Failed to execute the cache operation (all partition owners are
left the grid partition data has been lost))
Posted by siva <si...@bizruntime.com>.
Hi,
In our case, server nodes are always online and there is no server node
downtime until we make it manually. so how are partitions getting lost
frequently? and if this error occurred read and write operations will not
work with the respective cache.
Thanks
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Failed to execute the cache operation (all partition owners are
left the grid partition data has been lost))
Posted by siva <si...@bizruntime.com>.
Hi,
currently, I am using 2.9.1 and at present, we can't rollback for older
versions so can you assist me with a temporary solution for this version,
and can I get the estimated date for Ignite 2.11.0 release.
Thanks
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Failed to execute the cache operation (all partition owners are left the grid partition data has been lost))
Posted by Zhenya Stanilovsky <ar...@mail.ru>.
Seems you faced with https://issues.apache.org/jira/browse/IGNITE-14073
>Hi,
>I have .Net Ignite client and server app Ignite v2.9.1. we have a 2 node
>cluster,
>recently we are upgraded ignite 2.7.6 to ignite 2.9.1 after using this
>version we are facing issues frequently.
>
>[req=o.a.i.i.processors.platform.client.cache.ClientCacheGetRequest@bb5fb96]
>javax.cache.CacheException: class
>org.apache.ignite.internal.processors.cache.CacheInvalidStateException:
>Failed to execute the cache operation (all partition owners have left the
>grid, partition data has been lost) [cacheName=CREDENTIALS, partition=759,
>key=UserKeyCacheObjectImpl [part=759,
>val=SqlCredentialAdo-Althing-energyapp, hasValBytes=false]]
>at
>org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1270)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.cacheException(IgniteCacheProxyImpl.java:2083)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:1110)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.get(GatewayProtectedCacheProxy.java:676)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.platform.client.cache.ClientCacheGetRequest.process(ClientCacheGetRequest.java:41)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.platform.client.ClientRequestHandler.handle(ClientRequestHandler.java:99)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:202)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:56)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70)
>[ignite-core-2.9.1.jar:2.9.1]
>at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>[?:1.8.0_181]
>at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>[?:1.8.0_181]
>at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
>Caused by:
>org.apache.ignite.internal.processors.cache.CacheInvalidStateException:
>Failed to execute the cache operation (all partition owners have left the
>grid, partition data has been lost) [cacheName=CREDENTIALS, partition=759,
>key=UserKeyCacheObjectImpl [part=759,
>val=SqlCredentialAdo-Althing-energyapp, hasValBytes=false]]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTopologyFutureAdapter.validateKey(GridDhtTopologyFutureAdapter.java:209)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTopologyFutureAdapter.validateCache(GridDhtTopologyFutureAdapter.java:128)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.validate(GridPartitionedSingleGetFuture.java:859)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.map(GridPartitionedSingleGetFuture.java:277)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.init(GridPartitionedSingleGetFuture.java:244)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAsync0(GridDhtAtomicCache.java:1471)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$1600(GridDhtAtomicCache.java:141)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$16.apply(GridDhtAtomicCache.java:477)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$16.apply(GridDhtAtomicCache.java:475)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.asyncOp(GridDhtAtomicCache.java:779)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAsync(GridDhtAtomicCache.java:475)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4844)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.GridCacheAdapter.repairableGet(GridCacheAdapter.java:4810)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1469)
>~[ignite-core-2.9.1.jar:2.9.1]
>at
>org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:1107)
>~[ignite-core-2.9.1.jar:2.9.1]
>... 13 more
>Can you please assit me with the above issue thanks in advance.
>
>
>
>--
>Sent from: http://apache-ignite-users.70518.x6.nabble.com/