[infinispan-issues] [JBoss JIRA] (ISPN-8852) StackOverflowError when requesting data in case cache is in degraded mode
Dan Berindei (JIRA)
issues at jboss.org
Thu Apr 26 07:18:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-8852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13567536#comment-13567536 ]
Dan Berindei commented on ISPN-8852:
------------------------------------
[~stehlik.michal] from the stack trace it appears that the cache uses pessimistic locking and the application is doing a {{cache.getAdvancedCache().withFlags(Flag.FORCE_WRITE_LOCK).get(key)}}, is that correct?
[~ryanemerson] I believe in this scenario the read should fail with an {{AvailabilityException}}, because the cache is in DEGRADED mode and lock acquisition needs to contact all the owners.
> StackOverflowError when requesting data in case cache is in degraded mode
> -------------------------------------------------------------------------
>
> Key: ISPN-8852
> URL: https://issues.jboss.org/browse/ISPN-8852
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.4.Final
> Reporter: Michal Stehlik
> Assignee: Ryan Emerson
> Fix For: 9.3.0.Beta1
>
> Attachments: stackowerflow.log
>
>
> Found StackOverflowError in logs when network was disconnected, caches are in degraded mode and system attempt to operate with cache Read & Update.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list