From 3b58473127e0fc4d954159013d804656a4dc1642 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Mon, 3 Sep 2012 00:14:00 +0000 Subject: [PATCH] remove stale comment git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380098 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/cloud/ElectionContext.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java b/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java index a233b8f0969..a9fe2e9ddfe 100644 --- a/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java +++ b/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java @@ -58,9 +58,7 @@ public abstract class ElectionContext { public void cancelElection() throws InterruptedException, KeeperException { zkClient.delete(leaderSeqPath, -1, true); } - // the given core may or may not be null - if you need access to the current core, you must pass - // the core container and core name to your context impl - then use this core ref if it is not null - // else access it from the core container + abstract void runLeaderProcess(boolean weAreReplacement) throws KeeperException, InterruptedException, IOException; }