[infinispan-issues] [JBoss JIRA] (ISPN-8171) TrianglePerCacheInboundInvocationHandler sends IllegalLifecycleStateException in response

Dan Berindei (JIRA) issues at jboss.org
Thu Aug 3 10:07:00 EDT 2017


Dan Berindei created ISPN-8171:
----------------------------------

             Summary: TrianglePerCacheInboundInvocationHandler sends IllegalLifecycleStateException in response
                 Key: ISPN-8171
                 URL: https://issues.jboss.org/browse/ISPN-8171
             Project: Infinispan
          Issue Type: Bug
            Reporter: Dan Berindei
            Assignee: Dan Berindei


For synchronous operations, the invocation handler catches {{IllegalLifecycleStateException}} and sends a {{CacheNotFoundResponse}} instead of an {{ExceptionResponse}}.

{{TrianglePerCacheInboundInvocationHandler}} doesn't follow the same rule, and the response created by {{BaseBlockingRunnable.afterCommandException()}} is ignored. But the caller doesn't know what to do with the {{ExceptionAckCommand(throwable=org.infinispan.IllegalLifecycleStateException)}}, and the exception is propagated all the way to the caller.

This is causing some of the random failures in {{NonTxPutIfAbsentDuringLeaveStressTest.testNodeLeavingDuringPutIfAbsent}} (but different from the failures in ISPN-6451).



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


More information about the infinispan-issues mailing list