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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.6, 9.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: