Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7550

Remove TriangleAckInterceptor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • None
    • Core
    • None

      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.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: