From a0d0c518ca29115aa2643d77d9503d87d612ac55 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Fri, 7 Jul 2023 14:23:05 -0700 Subject: [PATCH] Update log message Signed-off-by: Marc Handalian --- .../indices/replication/SegmentReplicationTargetService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/indices/replication/SegmentReplicationTargetService.java b/server/src/main/java/org/opensearch/indices/replication/SegmentReplicationTargetService.java index e0fcbcd7ef79f..02c8386fda5ea 100644 --- a/server/src/main/java/org/opensearch/indices/replication/SegmentReplicationTargetService.java +++ b/server/src/main/java/org/opensearch/indices/replication/SegmentReplicationTargetService.java @@ -230,7 +230,7 @@ public synchronized void onNewCheckpoint(final ReplicationCheckpoint receivedChe ongoingReplicationTarget.getCheckpoint().getPrimaryTerm() ) ); - ongoingReplicationTarget.cancel("Cancelling ongoing target after new primary"); + ongoingReplicationTarget.cancel("Cancelling stuck target after new primary"); } else { logger.trace( () -> new ParameterizedMessage(