[ 
https://issues.apache.org/jira/browse/DISPATCH-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089994#comment-17089994
 ] 

Ganesh Murthy commented on DISPATCH-1626:
-----------------------------------------

To reproduce the issue follow these steps
 # Start the router with the attached config file (qdrouterd.conf) - 
PN_TRACE_FRM=1 qdrouterd -c etc/qdrouterd.conf 
 # Start the receiver like this - reset; python simple_recv_release.py 
--address 0.0.0.0/examples -m500
 # Start the sender like this - python simple_send_large.py --address 
0.0.0.0/examples -m500

Look at the frame trace on the router. You will see at least one disposition 
frame like the following -

[0x61400000ac50]:0 -> @disposition(21) [role=true, first=285, 
state=@released(38) []

followed by

[0x61400000ac50]:0 -> @disposition(21) [role=true, first=283, last=285, 
settled=true, state=@released(38) []]

 

> On released callback invoked twice for same delivery tag
> --------------------------------------------------------
>
>                 Key: DISPATCH-1626
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1626
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>    Affects Versions: 1.11.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.12.0
>
>         Attachments: qdrouterd.conf, simple_recv_release.py, 
> simple_send_large.py
>
>
> In a python client application, that is connected to a dispatch router, I 
> have observed that the on_released callback was invoked twice for the same 
> delivery tag.
> Here are the disposition frames I was able to capture for the respective 
> delivery:
> {noformat}
> [0x562a0083ed80]:0 <- @disposition(21) [role=true, first=981, 
> state=@released(38) []]
> [0x562a0083ed80]:0 <- @disposition(21) [role=true, first=981, last=982, 
> settled=true, state=@released(38) []]{noformat}
> The delivery tag 981 came first without the settlement and next with the 
> settled as true. And the on_released was called twice for the 981 delivery 
> tag.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to