You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2017/11/02 10:35:42 UTC
lucene-solr:branch_7x: make ReplicaNode.finishNRTCopy protected so
subclasses can customize;
this is helpful for replication a sidecar taxonomy index
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x 3f0a012d9 -> 3d9703846
make ReplicaNode.finishNRTCopy protected so subclasses can customize; this is helpful for replication a sidecar taxonomy index
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/3d970384
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/3d970384
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/3d970384
Branch: refs/heads/branch_7x
Commit: 3d9703846f65c9b098873dc6cddab5d2fdce27d9
Parents: 3f0a012
Author: Mike McCandless <mi...@apache.org>
Authored: Thu Nov 2 06:21:59 2017 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Thu Nov 2 06:30:39 2017 -0400
----------------------------------------------------------------------
.../src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3d970384/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/ReplicaNode.java
----------------------------------------------------------------------
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 0996f4f..291284e 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
@@ -352,7 +352,7 @@ public abstract class ReplicaNode extends Node {
}
}
- void finishNRTCopy(CopyJob job, long startNS) throws IOException {
+ protected void finishNRTCopy(CopyJob job, long startNS) throws IOException {
CopyState copyState = job.getCopyState();
message("top: finishNRTCopy: version=" + copyState.version + (job.getFailed() ? " FAILED" : "") + " job=" + job);