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

SolrRequestInfo logs an error if QuerySenderListener is being used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4.1
    • 6.2, 7.0
    • None
    • 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
          Tomas Eduardo Fernandez Lobbe
        3. SOLR-8657.patch
          4 kB
          Tomas Eduardo Fernandez Lobbe

        Issue Links

          Activity

            People

              tflobbe Tomas Eduardo Fernandez Lobbe
              pchollet Pascal Chollet
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: