[infinispan-issues] [JBoss JIRA] (ISPN-7550) Remove TriangleAckInterceptor

Pedro Ruivo (JIRA) issues at jboss.org
Thu Mar 2 05:32:00 EST 2017


Pedro Ruivo created ISPN-7550:
---------------------------------

             Summary: Remove TriangleAckInterceptor
                 Key: ISPN-7550
                 URL: https://issues.jboss.org/browse/ISPN-7550
             Project: Infinispan
          Issue Type: Bug
          Components: Core
            Reporter: Pedro Ruivo
            Assignee: Pedro Ruivo
             Fix For: 9.0.0.Final


{{TriangleAckInterceptor}} has 2 main goals
1. sends the from backup/primary to originator
2. in originator, waits for the acks

... and has 2 issues:
1. if an exception occurs before it, the ack will not be sent!
2. waiting for the acks here will add more complexity to the following interceptor if they need the operation outcome.

So, by removing the interceptor will have:
1. acks are sent in inbound handler (where the replies are sent too)
2. waiting for ack will happen on {{TriangleDistributionInterceptor}}.

Other changes:
* before sending the ack, notify the {{TriangleOrderManager}} that the next command can proceed. 



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


More information about the infinispan-issues mailing list