From 2a1a83327e6e2e8e95d404019568a5433d3e3bcf Mon Sep 17 00:00:00 2001 From: Eric Pugh Date: Sat, 14 Dec 2024 06:14:44 -0500 Subject: [PATCH] tidy --- .../src/java/org/apache/solr/handler/ReplicationHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 bdb5ae08647..c47b82e1ab7 100644 --- a/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java +++ b/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java @@ -1527,7 +1527,8 @@ 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 + // 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