Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13048

CacheContainerAdmin.removeCache() undefined for predefined caches

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.1.3.Final
    • Fix Version/s: 13.0.0.Dev01
    • Component/s: Core
    • Labels:
      None

      Description

      CacheContainerAdmin.removeCache() doesn't say anything about its behaviour when the cache was not created with CacheContainerAdmin.createCache().

      The current implementation removes the cache only on the local node.
      OTOH the javadoc of DefaultCacheManager.removeCache() says it always removes the cache cluster-wide, and the implementation just delegates to CacheContainerAdmin.removeCache().

      We should change the documentation (and maybe the implementation) to make it clear to users when they should expect the cache to be removed on all the nodes and when they should expect it to be removed on only one node.

        Attachments

          Activity

            People

            Assignee:
            dan.berindei Dan Berindei
            Reporter:
            dan.berindei Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: