Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9469

Allow JettySolrRunner to restart using a different port

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.3
    • None
    • None

    Description

      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.

      Attachments

        1. SOLR-9469.patch
          4 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: