Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-17246

Resizing caches does not correctly update keyArray in EhCache's MemoryStore:keyArray

    XMLWordPrintable

Details

    Description

      If you have a cache that is initially over 5000 elements in size, then resize it through the UI,
      the maximumSize is correctly adjusted but the keyArray is NOT changed to reflect this (as it is in the constructor).

      This means when the cache fills up, it will randomly break evict elements.

      A workaround would be to restart to the server after updating the cache through the UI.

      Attachments

        Activity

          People

            bnguyen Brian Nguyen (Inactive)
            alynch Andrew Lynch (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: