[ 
https://issues.apache.org/jira/browse/ARTEMIS-2259?focusedWorklogId=203463&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-203463
 ]

ASF GitHub Bot logged work on ARTEMIS-2259:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Feb/19 07:32
            Start Date: 25/Feb/19 07:32
    Worklog Time Spent: 10m 
      Work Description: wy96f commented on pull request #2561: ARTEMIS-2259 
Client session not exist if reattach timeout
URL: https://github.com/apache/activemq-artemis/pull/2561#discussion_r259702299
 
 

 ##########
 File path: 
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
 ##########
 @@ -1350,10 +1350,12 @@ public void preHandleFailover(RemotingConnection 
connection) {
    // Needs to be synchronized to prevent issues with occurring concurrently 
with close()
 
    @Override
-   public void handleFailover(final RemotingConnection backupConnection, 
ActiveMQException cause) {
+   public boolean handleFailover(final RemotingConnection backupConnection, 
ActiveMQException cause) {
 
 Review comment:
   This makes sense:) We'll modify it along with the test code.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 203463)
    Time Spent: 50m  (was: 40m)

> Client session not exist if reattach on new connection timeout
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-2259
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2259
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.6.4
>            Reporter: yangwei
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When client session reattach on new connection or session recreation timeout, 
> an exception is thrown causing session recreation and consumer recreation 
> don't complete. Although client connection failover completes, client session 
> actually doesn't work bcs there is no corresponding session channel on server 
> side. We close connection if session failover fails to fix the problem.



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

Reply via email to