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

Cache shutdown does not stop all caches

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: