[infinispan-issues] [JBoss JIRA] (ISPN-7884) StackOverflowException caused by GetAllCommand

Galder Zamarreño (JIRA) issues at jboss.org
Tue Jun 20 12:23:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-7884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424282#comment-13424282 ] 

Galder Zamarreño commented on ISPN-7884:
----------------------------------------

LOL, could not find this JIRA in the first place cos I searched for {{StackOverflowError}}. That's the correct name btw ;)

> StackOverflowException caused by GetAllCommand
> ----------------------------------------------
>
>                 Key: ISPN-7884
>                 URL: https://issues.jboss.org/browse/ISPN-7884
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.1.0.Alpha1
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>
> GetAllCommand in BaseDistributionInterceptor handles all unsuccessful responses by throwing OutdatedTopologyException.
> BaseStateTransferInterceptor assumes that this is due to UnsureResponse in a scenario where it should be possible to retry the command immediately.
> If this occurs due to CacheNotFoundResponse (node being suspected) but before the availability mode is updated/consistent hash is updated with lost segments assigned to other nodes, the command is retried in a loop up to a point where the thread hits stack overflow.
> This does not affect regular cache.get() since this one throws AllOwnersLostException instead and this is treated differently in BaseStateTransferInterceptor.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list