]
Gustavo Fernandes updated ISPN-7550:
------------------------------------
Fix Version/s: 9.0.0.CR3
(was: 9.0.0.Final)
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.CR3
{{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.