From 59a77e9e36a9c9ceb2b316642f4bcc4fc832b73c Mon Sep 17 00:00:00 2001 From: Eric Pugh Date: Tue, 17 Dec 2024 06:16:14 -0500 Subject: [PATCH] Reformat comment better --- .../org/apache/solr/handler/ReplicationHandler.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java b/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java index a72fd4363e8..8b126b5cc06 100644 --- a/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java +++ b/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java @@ -1517,12 +1517,11 @@ private Long readIntervalNs(String interval) { public static final String FETCH_FROM_LEADER = "fetchFromLeader"; - // in case of TLOG replica, if leaderVersion = zero, don't do commit - // otherwise updates from current tlog won't be copied over properly to the new tlog, leading to - // data - // loss - // don't commit on leader version zero for PULL replicas as PULL should only get its index - // state from leader + // In case of TLOG replica, if leaderVersion = zero, don't do commit + // otherwise updates from current tlog won't be copied over properly to the new tlog, + // leading to data loss. + // Don't commit on leader version zero for PULL replicas as PULL should only get its index + // state from leader. public static final String SKIP_COMMIT_ON_LEADER_VERSION_ZERO = "skipCommitOnLeaderVersionZero"; public static final String MESSAGE = "message";