[
https://issues.apache.org/jira/browse/ARTEMIS-2948?focusedWorklogId=500916&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-500916
]
ASF GitHub Bot logged work on ARTEMIS-2948:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Oct/20 01:57
Start Date: 15/Oct/20 01:57
Worklog Time Spent: 10m
Work Description: hezhou66 commented on pull request #3302:
URL: https://github.com/apache/activemq-artemis/pull/3302#issuecomment-708845681
> What are you trying to fix here ?
>
> There are no tests. Take a look at the compatibility tests where I play
with many versions as part of class loading.
Thanks for reply . The tests are complicated and difficult at one project.
The process trace detail as follow :
The client version is 2.4.x whitch has not SessionSendMessage_V2, sends
SessionSendMessage packet to the server
The server version is 2.12.x , use ServerPacketDecoder.decodeSessionPacket
method to decode message packet, but the method decode it to SessionSendMessage
or SessionSendMessage_V2 depending on the connection version whitch has been
set to server version(2.12.x) after failover reattach.
So the SessionSendMessage was decoded as SessionSendMessage_V2, losing the
last Long correlationID, causing CoreMessage.decode error.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 500916)
Time Spent: 0.5h (was: 20m)
> Old version client sends message error, after reattaching connection to new
> version server
> ------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2948
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2948
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: hezhou
> Priority: Major
> Attachments: image-2020-10-14-10-36-52-222.png
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Recently we want to update our artemis server from version 2.4.x to 2.12.x,
> but without updating all client ( too many modules and projects using ). It
> was OK at starting days, but a few days later, we received the error in the
> server's log:
> !image-2020-10-14-10-36-52-222.png!
> Old version client (2.4.x ) send messages to newer version server(2.12.x)
> error.
> It also occurs in latest version.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)