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

debug=query does not reliably ensure json.facet debug info returned in cloud clusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Facet Module, SolrCloud
    • None

    Description

      While working on a randomized cloud test in SOLR-13132 that needs to inspect the "facet-trace" debug output to inspect the processor used (among other details), i discovered that FacetModule would not reliably initialize the FactDebugInfo container when using debug=query in the request.

      AFAICT, it does appear to always track & return facet debugging info when using debug=true instead - but i haven't rigerously proved this.

      Under the covers, FacetModule is just checking ResponseBuilder.isDebug() - an old "back compat" API for components to check before we started breaking down multiple types of "debug" info - that should return true anytime debug=query is set, so there is really no logical reason why this shouldn't work... it's got to be a bug somewhere (it doesn't seem tied to the request, but does break on diff randomized indexes, so perhaps it's related to the document/bucket distribution? or maybe something more low level and unrelated to FacetModule at all?)


      It only seems to be a problem in cloud mode - i haven't observed FacetModule's debug output behave any differently between debug=query vs debug=true in single node mode.

      Attachments

        1. SOLR-14451.patch
          2 kB
          Munendra S N

        Activity

          People

            Unassigned Unassigned
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: