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

SolrRequestInfo logs an error if QuerySenderListener is being used

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 6.2, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      This is the stack trace:

      at org.apache.solr.request.SolrRequestInfo.setRequestInfo(SolrRequestInfo.java:59)
      	  at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:68)
      	  at org.apache.solr.core.SolrCore$6.call(SolrCore.java:1859)
      	  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	  at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:232)
      	  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	  at java.lang.Thread.run(Thread.java:745)
      

      SolrRequestInfo is being set in MDCAwareThreadPoolExecutor.execute() and later in QuerySenderListener.newSearcher() in the same thread.

        Attachments

        1. Screen Shot 2016-02-10 at 09.43.56.png
          428 kB
          Pascal Chollet
        2. SOLR-8657.patch
          6 kB
          Tomás Fernández Löbbe
        3. SOLR-8657.patch
          4 kB
          Tomás Fernández Löbbe

          Issue Links

            Activity

              People

              • Assignee:
                tomasflobbe Tomás Fernández Löbbe
                Reporter:
                pchollet Pascal Chollet
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: