[jboss-jira] [JBoss JIRA] (WFLY-12304) Upgrade Apache Artemis from 2.9.0 to 2.10.0

Flavia Rainone (Jira) issues at jboss.org
Mon Sep 9 02:44:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781487#comment-13781487 ] 

Flavia Rainone commented on WFLY-12304:
---------------------------------------

[~clebert.suconic]I debugged, and I have questions about this :-)
According to the error I'm seeing, the problem is that the second server waits for a REPLICATION_START_FINISH_SYNC packet that it never gets, the one with synchronizationIsFinished set to true. It receives quite a few packets like that one before, though, they are just not the last one.
This packet is attempted to be sent by server 1, I can see that everything up to this line seems to be executed correctly: 
[JournalStorageManager.startReplication|https://github.com/apache/activemq-artemis/blob/0106329816a4ea8cc641ebceed215169adf25da2/artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/JournalStorageManager.java#L699] / [ReplicationManager.sendSynchronizationDone|https://github.com/apache/activemq-artemis/blob/0106329816a4ea8cc641ebceed215169adf25da2/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicationManager.java#L684]
However, the second server never receives the packet. Notice that, as I said before, the second server is receiving several packets just like that one prior to this, it seems to be missing only that last one, that has synchronizationIsFinished true. So, I don't see how Netty is failing to handle that type of Packet? Or is it another Packet you're talking about when you say that Netty fails to handle FileRegion?

When debugging, it seems to me that this task is never executed: [sendPacket runnable task|https://github.com/apache/activemq-artemis/blob/0106329816a4ea8cc641ebceed215169adf25da2/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicationManager.java#L382]

I am not sure if it is because of a timeout I'm not seeing, or if there is something wrong with the executor at this point (dunno what), but are you seeing this packet being sent/that task being executed for the missing packet above?

> Upgrade Apache Artemis from 2.9.0 to 2.10.0
> -------------------------------------------
>
>                 Key: WFLY-12304
>                 URL: https://issues.jboss.org/browse/WFLY-12304
>             Project: WildFly
>          Issue Type: Component Upgrade
>          Components: JMS
>            Reporter: Martin Stefanko
>            Assignee: Emmanuel Hugonnet
>            Priority: Blocker
>              Labels: blocker-WF18, downstream_dependency
>
> Upgrade Apache Artemis from 2.9.0.Final to 2.10.0.Final.
> Due to HA issue with Apache Artemis 2.10.0 this may not be the final version upgrade



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list