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

Possibility to return an error immediately from ping handler if no searcher is available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.10
    • None
    • search
    • Load-balanced service

    Description

      Especially in a load-balanced environment it would be useful if it was possible to configure PingRequestHandler to return right away with an error status when a searcher is not (yet) available. This would allow the load-balancer to quickly fail over to a Solr instance that's able to serve the requests.

      Currently the ping handler waits for the searcher to become available, which means the load-balancer has to either keep waiting or use a suitably short timeout, which is difficult to define in a way that provides a timely failover without false negatives.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emaijala Ere Maijala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: