From 7f038de9ad0d999044749c6ab398ef2f2d8dee5f Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Wed, 12 Jun 2024 18:32:18 -0400 Subject: [PATCH] ARTEMIS-4667 Fixing replay manager with replication on the large message case --- .../activemq/artemis/core/replication/ReplicatedJournal.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicatedJournal.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicatedJournal.java index e847ff3310..636063fe98 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicatedJournal.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicatedJournal.java @@ -57,6 +57,11 @@ public class ReplicatedJournal implements Journal { private final byte journalID; + @Override + public boolean isHistory() { + return localJournal.isHistory(); + } + @Override public void setRemoveExtraFilesOnLoad(boolean removeExtraFilesOnLoad) { this.localJournal.setRemoveExtraFilesOnLoad(removeExtraFilesOnLoad);