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

reduce 'error' logging noise in BaseCloudSolrClient.requestWithRetryOnStaleState

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.7, 9.0
    • SolrJ
    • None

    Description

      Currently – e.g. https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.6.2/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseCloudSolrClient.java#L960-L961 – an error is logged even if request retrying will happen (and hopefully succeed).

      This task proposes to 'info' or 'warn' rather than 'error' log if the request will be retried.

      Attachments

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              5 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