Andrzej Bialecki created SOLR-11449: ----------------------------------------
Summary: MoveReplicaCmd mistakenly calls registerCollectionStateWatcher instead of unregisterCollectionStateWatcher Key: SOLR-11449 URL: https://issues.apache.org/jira/browse/SOLR-11449 Project: Solr Issue Type: Bug Security Level: Public (Default Security Level. Issues are Public) Affects Versions: 7.0.1, 7.1, master (8.0) Reporter: Andrzej Bialecki Assignee: Andrzej Bialecki Probably got in as a copy & paste error: {code} --- a/solr/core/src/java/org/apache/solr/cloud/MoveReplicaCmd.java +++ b/solr/core/src/java/org/apache/solr/cloud/MoveReplicaCmd.java @@ -206,7 +206,7 @@ public class MoveReplicaCmd implements Cmd{ log.warn(errorString); results.add("failure", errorString); if (watcher != null) { // unregister - ocmh.zkStateReader.registerCollectionStateWatcher(coll.getName(), watcher); + ocmh.zkStateReader.removeCollectionStateWatcher(coll.getName(), watcher); } return; } {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org