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

Cache shutdown does not stop all caches

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Core
    • None

      Cache.shutdown() does not stop all caches cluster wide, but only the local cache. Reproducer:

      Cache<Object, Object> cacheA_0 = cache(0, "cacheA");
      Cache<Object, Object> cacheA_1 = cache(1, "cacheA");
      Cache<Object, Object> cacheA_2 = cache(2, "cacheA");
      
      cacheA_1.shutdown();
      
      System.out.println(cacheA_0.getStatus());
      System.out.println(cacheA_1.getStatus());
      System.out.println(cacheA_2.getStatus());
      

      yields:

      RUNNING
      TERMINATED
      RUNNING

              Unassigned Unassigned
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: