[jira] [Resolved] (PROTON-1990) drain gets stuck on

2019-02-06 Thread Robbie Gemmell (JIRA)


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

Robbie Gemmell resolved PROTON-1990.

Resolution: Fixed

> drain gets stuck on
> ---
>
> Key: PROTON-1990
> URL: https://issues.apache.org/jira/browse/PROTON-1990
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: cpp-binding
>Affects Versions: proton-c-0.26.0
>Reporter: Gordon Sim
>Assignee: Cliff Jansen
>Priority: Major
>  Labels: patch
> Fix For: proton-c-0.27.0
>
> Attachments: drain.patch
>
>
> See [http://qpid.2158936.n2.nabble.com/Drain-issue-in-proton-C-td7681843.html]
>  
> When draining a receiver link in the proton c++ api, if there are 
> insuffficient messages on the source, the draining mode gets stuck on so that 
> subsequent granting of credit causes the credit to be immediately drained.
> This appears to be due to the flag not being set on the pn_link_t instance.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (PROTON-1990) drain gets stuck on

2019-02-03 Thread Cliff Jansen (JIRA)


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

Cliff Jansen resolved PROTON-1990.
--
Resolution: Fixed

Added a test.

Found a second instance of un-toggled drain that required the same treatment as 
in the provided patch.

Thanks folks.

> drain gets stuck on
> ---
>
> Key: PROTON-1990
> URL: https://issues.apache.org/jira/browse/PROTON-1990
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: cpp-binding
>Affects Versions: proton-c-0.26.0
>Reporter: Gordon Sim
>Assignee: Cliff Jansen
>Priority: Major
>  Labels: patch
> Fix For: proton-c-0.27.0
>
> Attachments: drain.patch
>
>
> See [http://qpid.2158936.n2.nabble.com/Drain-issue-in-proton-C-td7681843.html]
>  
> When draining a receiver link in the proton c++ api, if there are 
> insuffficient messages on the source, the draining mode gets stuck on so that 
> subsequent granting of credit causes the credit to be immediately drained.
> This appears to be due to the flag not being set on the pn_link_t instance.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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