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

CacheContainerAdmin.removeCache() undefined for predefined caches

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 13.0.0.Dev01
    • 12.1.3.Final
    • Core
    • None
    • Undefined

    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

            Unassigned Unassigned
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: