You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "shoukun huai (JIRA)" <ji...@apache.org> on 2017/12/21 06:32:00 UTC

[jira] [Created] (ARTEMIS-1570) SharedNothingBackup does not replicate all journal from live

shoukun huai created ARTEMIS-1570:
-------------------------------------

             Summary: SharedNothingBackup does not replicate all journal from live
                 Key: ARTEMIS-1570
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1570
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.4.0
         Environment: i'm running unit test on windows.
            Reporter: shoukun huai
            Priority: Critical
         Attachments: SharedNothingReplicationTest.java

I try to test replication when live is in heavy IO load.
Attached is my junit test.
The test use a slow message persister to simulate live is busy on IO, so JournalImpl's `appendExecutor` is busy.

After start live server, send 5 messages each with a property `delay` of 5000 ms, then start the backup server, wait until it is replicated. Then send more messages without delay.

Stop live and backup after all message sent, then check message journal.

Backup will miss 2 message/journal entry.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)