You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Rafael H. Schloming (JIRA)" <ji...@apache.org> on 2013/02/11 16:25:13 UTC

[jira] [Updated] (PROTON-40) detect and report errors for acessing settled deliveries

     [ https://issues.apache.org/jira/browse/PROTON-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming updated PROTON-40:
--------------------------------------

    Summary: detect and report errors for acessing settled deliveries  (was: Batching of message IDs in Disposition frames not supported)
    
> detect and report errors for acessing settled deliveries
> --------------------------------------------------------
>
>                 Key: PROTON-40
>                 URL: https://issues.apache.org/jira/browse/PROTON-40
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Ted Ross
>            Priority: Minor
>
> If a proton client calls pn_disposition on more than one received delivery between the sending of disposition frames, the next disposition frame will reference only the first message in the batch.
> Ref:  This code fragment from pn_post_disp which uses the same value for first and last id:
>     return pn_post_frame(transport->disp, ssn_state->local_channel, "DL[oIIo?DL[]]", DISPOSITION,
>                          link->endpoint.type == RECEIVER, state->id, state->id,
>                          delivery->local_settled,
>                          (bool)code, code);
> The result of this is that dispositions for messages are lost and senders hang if there are credit windows of greater than one.  It would be ok, but inefficient, to send multiple singleton dispositions.  In fact, proton simply skips one or more disposition so the settlement of messages is incomplete.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira