[
https://issues.apache.org/jira/browse/ARTEMIS-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728106#comment-17728106
]
ASF subversion and git services commented on ARTEMIS-4298:
----------------------------------------------------------
Commit c5be8b72c14860ccff0eafec0315f4383330fc42 in activemq-artemis's branch
refs/heads/main from clebert
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c5be8b72c1 ]
ARTEMIS-4298 and ARTEMIS-4215 Fixing duplicated entries on historyFiles on
journalRetention during a replication
This is Fixing BackupSyncJournalTest::testReplicationDuringSync
ARTEMIS-4215 introduced a failure on the testsuite.
However the failure is non related to the Buffer itself. it introduced a race
that unveiled ARTEMIS-4298.
> Journal Retention Duplicated files during replication
> -----------------------------------------------------
>
> Key: ARTEMIS-4298
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4298
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.29.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> During a replication the server could move to a different file and create a
> backup file.
> Before activation we check the .bkp files and move them. Replication is
> causing a duplicate that could lead to the server not being activated.
> the commit from ARTEMIS-4215 Unveiled this issue. as BackupSyncJournalTest.
> The commit to fix the test from ARTEMIS-4215 itself represents a new issue
> found.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)