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

Remove TriangleAckInterceptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.CR3
    • None
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: