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

LBSolrClient should limit size of Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.5
    • None
    • None

    Description

      LBSolrClient.request can return full list of zombie server in Exception.

      See LBSolrClient.request.request :

          throw new SolrServerException(
              "No live SolrServers available to handle this request:" + zombieServers.keySet(), ex);

      When a solr node is down, the list of zombie server can grow large because it can hold all the replicas hosted by the node.

      Building this list can therefore becomes costly.

      Since the full list of zombie server is typically not useful it would be enough to return the size of the zombieServers Map

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              gbellaton Gilles Bellaton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h