[
https://issues.apache.org/jira/browse/IGNITE-16300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481035#comment-17481035
]
Pavel Tupitsyn edited comment on IGNITE-16300 at 1/24/22, 11:59 AM:
--------------------------------------------------------------------
[~ferdaarikan] .NET 6 is supported, all Ignite tests pass there, and there are
no known breaking changes that affect Ignite. I don't think this issue is
related to .NET 6.
A couple of links to similar issues don't involve .NET at all:
https://stackoverflow.com/questions/43555493/apache-ignite-cache-put-fails-with-in-the-igniterunnable-run-method
https://www.mail-archive.com/[email protected]/msg00371.html
1. Can you provide a reproducer for the issue?
2. If not, can you please add more details? From the stack trace I can see that
a Cache.Get is used within a compute task, is that correct? Do you use sync or
async APIs, how do you call them? Does the node or app crash or only a single
operation fails?
was (Author: ptupitsyn):
[~ferdaarikan] .NET 6 is supported, all Ignite tests pass there, and there are
no known breaking changes that affect Ignite.
1. Can you provide a reproducer for the issue?
2. If not, can you please add more details? From the stack trace I can see that
a Cache.Get is used within a compute task, is that correct? Do you use sync or
async APIs, how do you call them? Does the node or app crash or only a single
operation fails?
> .NET: Failed to wait for asynchronous operation permit
> ------------------------------------------------------
>
> Key: IGNITE-16300
> URL: https://issues.apache.org/jira/browse/IGNITE-16300
> Project: Ignite
> Issue Type: New Feature
> Components: compute
> Affects Versions: 2.11.1
> Reporter: Ali Ferda Arikan
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: newbie
>
> We have an ignite cluster with native storage enabled which we use as a
> distributed database and compute engine which is embedded in a .net
> application.
> As we are aware that .NET5 is supported we use that framework.
> When we try to upgrade our cluster to use .NET6 we get the below error. It is
> hard to tell if it is something else or some minor incompatibility causing an
> error somewhere. However, reverting to .NET5 makes the issue disappear. So I
> assume we need .NET6 to be officially supported.
> {code:java}
> Apache.Ignite.Core.Cache.CacheException: 'class
> org.apache.ignite.IgniteInterruptedException: Failed to wait for asynchronous
> operation permit (thread got interrupted).'JavaException:
> javax.cache.CacheException: class
> org.apache.ignite.IgniteInterruptedException: Failed to wait for asynchronous
> operation permit (thread got interrupted).
> at
> org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1266)
> at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.cacheException(IgniteCacheProxyImpl.java:2084)
> at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:1111)
> at
> org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.get(GatewayProtectedCacheProxy.java:688)
> at
> org.apache.ignite.internal.processors.platform.cache.PlatformCache.processInStreamOutLong(PlatformCache.java:455)
> at
> org.apache.ignite.internal.processors.platform.PlatformTargetProxyImpl.inStreamOutLong(PlatformTargetProxyImpl.java:67)
> at
> org.apache.ignite.internal.processors.platform.callback.PlatformCallbackUtils.inLongLongLongObjectOutLong(Native
> Method)
> at
> org.apache.ignite.internal.processors.platform.callback.PlatformCallbackGateway.computeJobExecuteLocal(PlatformCallbackGateway.java:312)
> at
> org.apache.ignite.internal.processors.platform.compute.PlatformAbstractJob.runLocal(PlatformAbstractJob.java:134)
> at
> org.apache.ignite.internal.processors.platform.compute.PlatformClosureJob.execute0(PlatformClosureJob.java:94)
> at
> org.apache.ignite.internal.processors.platform.compute.PlatformAbstractJob.execute(PlatformAbstractJob.java:80)
> at
> org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:601)
> at
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7126)
> at
> org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:595)
> at
> org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:522)
> at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
> at java.base/java.lang.Thread.run(Thread.java:831)
> Caused by: class org.apache.ignite.IgniteInterruptedException: Failed to wait
> for asynchronous operation permit (thread got interrupted).
> at
> org.apache.ignite.internal.util.IgniteUtils$3.apply(IgniteUtils.java:919)
> at
> org.apache.ignite.internal.util.IgniteUtils$3.apply(IgniteUtils.java:917)
> ... 19 more
> Caused by: java.lang.InterruptedException
> at
> java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1047)
> at java.base/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
> at
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.asyncOpAcquire(GridCacheAdapter.java:4710)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.asyncOp(GridDhtAtomicCache.java:777)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAsync(GridDhtAtomicCache.java:483)
> at
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4894)
> at
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.repairableGet(GridCacheAdapter.java:4860)
> at
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1476)
> at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:1108)
> ... 16 more{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)