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

Allow dynamic resizing of SolrCache-s

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: None
    • Labels:
      None

      Description

      Currently SolrCache limits are configured statically and can't be reconfigured without cache re-initialization (core reload), which is costly. In some situations it would help to be able to dynamically re-size the cache based on the resource contention (such as the total heap size used for caching across all cores in a node).

      Each cache implementation already knows how to evict its entries when it runs into configured limits - what is missing is to expose this mechanism using a uniform API.

        Attachments

        1. SOLR-13558.patch
          49 kB
          Andrzej Bialecki
        2. SOLR-13558.patch
          44 kB
          Andrzej Bialecki
        3. SOLR-13558.patch
          43 kB
          Andrzej Bialecki

          Issue Links

            Activity

              People

              • Assignee:
                ab Andrzej Bialecki
                Reporter:
                ab Andrzej Bialecki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: