[
https://issues.apache.org/jira/browse/SOLR-8323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263669#comment-15263669
]
ASF GitHub Bot commented on SOLR-8323:
--------------------------------------
Github user romseygeek commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/32#discussion_r61541928
--- Diff:
solr/test-framework/src/java/org/apache/solr/cloud/MiniSolrCloudCluster.java ---
@@ -348,7 +358,13 @@ public JettySolrRunner stopJettySolrRunner(int index)
throws Exception {
return jetty;
}
- protected JettySolrRunner startJettySolrRunner(JettySolrRunner jetty)
throws Exception {
+ /**
+ * Add a previously stopped node back to the cluster
+ * @param jetty a {@link JettySolrRunner} previously returned by {@link
#stopJettySolrRunner(int)}
+ * @return the started node
+ * @throws Exception on error
+ */
+ public JettySolrRunner startJettySolrRunner(JettySolrRunner jetty)
throws Exception {
--- End diff --
Yes, they're needed to ensure that the cluster is in the same state for all
tests.
> Add CollectionWatcher API to ZkStateReader
> ------------------------------------------
>
> Key: SOLR-8323
> URL: https://issues.apache.org/jira/browse/SOLR-8323
> Project: Solr
> Issue Type: Improvement
> Affects Versions: master
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Attachments: SOLR-8323.patch, SOLR-8323.patch, SOLR-8323.patch,
> SOLR-8323.patch
>
>
> An API to watch for changes to collection state would be a generally useful
> thing, both internally and for client use.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]