Qpid
  1. Qpid
  2. QPID-3884

Batch acknowledgements for XA transactions until end()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.17
    • Component/s: Java Client
    • Labels:
      None

      Description

      The XASessionImpl uses AUTO_ACK for the underlying JMS Session.
      Due to recent changes we ack each message synchronously, which is quite slow.

      However in a transaction we don't need to ack these messages individually instead it can be done when we end the XA transaction.

      1. async_ack.patch
        2 kB
        Rajith Attapattu
      2. async_ack.patch
        2 kB
        Kevin Conner

        Activity

        Rajith Attapattu created issue -
        Rajith Attapattu made changes -
        Field Original Value New Value
        Fix Version/s Future [ 12315490 ]
        Affects Version/s 0.14 [ 12316855 ]
        Component/s Java Client [ 12311389 ]
        Hide
        Rajith Attapattu added a comment -

        Attaching a patch by Kevin Conner.
        The patch basically batches the acks instead of acking them individually.

        These then gets flushed when the end() in XAResourceImpl.java is called.

        Show
        Rajith Attapattu added a comment - Attaching a patch by Kevin Conner. The patch basically batches the acks instead of acking them individually. These then gets flushed when the end() in XAResourceImpl.java is called.
        Rajith Attapattu made changes -
        Attachment async_ack.patch [ 12517120 ]
        Kevin Conner made changes -
        Attachment async_ack.patch [ 12517431 ]
        Hide
        Rajith Attapattu added a comment -

        Patch applied to trunk

        Show
        Rajith Attapattu added a comment - Patch applied to trunk
        Rajith Attapattu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.17 [ 12320179 ]
        Fix Version/s Future [ 12315490 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        84d 16h 5m 1 Rajith Attapattu 29/May/12 13:25

          People

          • Assignee:
            Rajith Attapattu
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development