[
https://issues.apache.org/jira/browse/SOLR-9469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated SOLR-9469:
--------------------------------
Attachment: SOLR-9469.patch
Patch, adding a boolean parameter to JettySolrRunner.start(). Default
behaviour is same as before, to reuse the previous port.
The patch applies on top of SOLR-8961, as it adds a test case to the
test-framework.
> Allow JettySolrRunner to restart using a different port
> -------------------------------------------------------
>
> Key: SOLR-9469
> URL: https://issues.apache.org/jira/browse/SOLR-9469
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: SOLR-9469.patch
>
>
> When a JettySolrRunner is restarted, it currently tries to reuse the same
> port as it was running on before the restart. This can lead to stale
> connections, and test failures (see SOLR-6944 for an example, but it seems to
> be happening in other tests, CollectionStateWatchersTest for example). In
> plenty of cases, we don't actually need to restart on the same port, so we
> should add the ability to ignore previous port numbers and just come up on
> any port that is available.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]