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

ASF subversion and git services commented on PROTON-3003:
---------------------------------------------------------

Commit a6cef0fbb37fcb476ea177926ab4d2d7692c6f8c in qpid-protonj2's branch 
refs/heads/main from Arnaud Cogoluègnes
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=a6cef0fb ]

PROTON-3003 Notify senders when a link flow changes the session window

Publishers sharing a session could stall and fail with "Timed out
waiting for credit to send", even though they had link credit and the
session window was open.

ProtonSession notified the senders of a session window change only for
flow frames without a handle. The session fields are carried by every
flow frame, so a flow for one link can reopen the window: only that link
re-evaluated its sendable state, the other senders stayed blocked.
A broker that updates the session window in link flow frames triggers
the issue as soon as several publishers use the same connection.

The senders are now notified after link flows as well. A sender that is
not locally open ignores the notification, as it already does for link
flows, its state being computed when it opens.


> [protonj2] Senders sharing a session are not notified when a flow for another 
> link reopens the session window
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-3003
>                 URL: https://issues.apache.org/jira/browse/PROTON-3003
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: protonj2
>    Affects Versions: protonj2-1.4.0
>            Reporter: Arnaud Cogoluègnes
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: protonj2-1.6.0
>
>
> When senders share a session and the remote session incoming-window is used 
> up, a flow with a handle that reopens the window only updates the link it 
> targets. The other senders stay unsendable and are never signalled, although 
> they have credit, so the client {{send()}} fails with 
> {{ClientSendTimedOutException: Timed out waiting for credit to send}}.
> {{ProtonSession#remoteFlow}} applies the session fields of every flow, but 
> notifies the senders of the window change only for session-only flows (no 
> handle).



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [jira] [Commented] (PROTON-... ASF subversion and git services (Jira) via dev

Reply via email to