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

Rethink PKIs hueristic for dealing with 'isSolrThread()'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      See SOLR-12859 for a lengthy discussion of some of the problems that currently exist with the way PKIAuthenticationPlugin's isSolrThread() currently works, and some discussions around how to possibly fix it.

      Notably:

      • anything request that comes from a Threadpool is considered isSolrThread()
        • which means every frequest from ConcurrentUpdateSolrClient is considered isSolrThread()
      • but isSolrThread() is ignored if there is a SolrRequestInfo
        • but many code paths (like DocExpirationUpdateProcessorFactory -> UpdateProcessorChain) require that a SolrRequestInfo be set in order to function properly

      In general, there's also a lot of questions/confusions about why isSolrThread() exists at all

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: