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

reduce 'error' logging noise in BaseCloudSolrClient.requestWithRetryOnStaleState

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.7, master (9.0)
    • Component/s: SolrJ
    • Labels:
      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

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                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