[ 
https://issues.apache.org/jira/browse/ARTEMIS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martyn Taylor updated ARTEMIS-465:
----------------------------------
    Affects Version/s: 1.1.1
                       1.1.0
                       1.2.0

> Large messages missed over replication
> --------------------------------------
>
>                 Key: ARTEMIS-465
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-465
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 1.2.0, 1.1.1
>            Reporter: Martyn Taylor
>            Assignee: Martyn Taylor
>             Fix For: 1.3.0
>
>
> The ReplicationEndpoint (in the backup) elies on the large message files sent 
> over the cluster connection, to get an initial picture of the large messages 
> on the live server.  Subsequent large messages packets are forwarded to the 
> ReplicationEndpoint.  A large message being packet is sent when the journal 
> first saves the large message pending packet, after this point the server 
> forwards the large message continuation packets.
> The actual large message files are created lazily on the live server.  Only 
> when a large message continuation packet is received is the large message 
> file created.  This leaves a window where, before replication is started, a 
> large message entry can be present in the journal (the large message begin 
> has been received and store, but not forwarded to the backup, as it's not 
> started) and no file is created on the live.
> If replication starts at this point, the backup builds up it's picture of the 
> large messages based on the large message files, but is missing large 
> messages from it's view (as they're in the journal on the live, but not 
> stored in files).  Subsequent large message continuation packets are then 
> rejected by the backup as it does not recognise the large message.   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to