Hayen Thomas created PROTON-3004:
------------------------------------
Summary: Locally closed Session or Link is recreated on reconnect
when close was not acknowledged by the remote
Key: PROTON-3004
URL: https://issues.apache.org/jira/browse/PROTON-3004
Project: Qpid Proton
Issue Type: Bug
Components: protonj2
Affects Versions: protonj2-1.5.0, protonj2-1.4.0
Reporter: Hayen Thomas
Assignee: Timothy A. Bish
When reconnect is enabled, a Session, Sender or Receiver that was closed locally
but whose close was not yet acknowledged by the remote (End/Detach response
pending, or close timed out) is recreated and reopened on the new connection
after failover. The client then sends a Begin/Attach for a resource the
application explicitly closed.
Cause: ClientSession.handleEngineShutdown and
ClientLinkType.handleEngineShutdown
only checked whether the connection engine was shut down, not whether the
resource itself (or its parent session) was closed.
Steps to reproduce:
1. Connect with reconnect enabled and a backup location.
2. Open a session/link, then close it; the remote never answers the End/Detach.
3. Drop the connection.
-> The client reconnects and sends Begin/Attach for the closed resource.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]