You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/11/04 03:46:58 UTC

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

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

Justin Ross updated PROTON-40:
------------------------------
    Summary: detect and report errors for accessing settled deliveries  (was: detect and report errors for acessing settled deliveries)

> detect and report errors for accessing 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org