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

static caches in StreamHandler ought to move to CoreContainer lifecycle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.6
    • streaming expressions
    • None

    Description

      StreamHandler (at "/stream") has several statically declared caches. I think this is problematic, such as in testing wherein multiple nodes could be in the same JVM. One of them is more serious – SolrClientCache which is closed/cleared via a SolrCore close hook. That's bad for performance but also dangerous since another core might want to use one of these clients!

      CC jbernste

      Attachments

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 20m
                  1h 20m