From f9c2b8be3bfe0962d58a39b0f5a2acfe56ecf3ae Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Thu, 27 Apr 2017 06:59:24 -0400 Subject: [PATCH] fix wrong version in logging message --- .../src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java b/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java index ff82d18ad38..853446b1a21 100644 --- a/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java +++ b/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java @@ -497,7 +497,7 @@ public abstract class ReplicaNode extends Node { if (version < curVersion) { // This can happen, if two syncs happen close together, and due to thread scheduling, the incoming older version runs after the newer version - message("top: new NRT point (version=" + version + ") is older than current (version=" + version + "); skipping"); + message("top: new NRT point (version=" + version + ") is older than current (version=" + curVersion + "); skipping"); return null; }