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

Cache shutdown does not stop all caches

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)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: