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

"user caches" don't support "enabled" attribute

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (9.0), 8.6
    • Component/s: None
    • Labels:
      None

      Description

      while trying to help write some test cases for SOLR-13807 i discovered that the code path used for building the List<CacheConfig> of user caches (ie: <cache name="..." /> doesn't respect the idea of an "enabled" attribute ... that is only checked for in the code path use for building singular CacheConfig options from explicit xpaths (ie: <filterCache ... /> etc...)

      We should fix this, if for no other reason then so it's easy for tests to use system properties to enable/disable all caches.

        Attachments

        1. SOLR-14307.patch
          5 kB
          Chris M. Hostetter

          Issue Links

            Activity

              People

              • Assignee:
                hossman Chris M. Hostetter
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: