Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13102

IgniteCache#isClosed() returns false on server node even if the cache had been closed before.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8, 2.8.1
    • 2.10, 2.9.1
    • None
    • None
    • Fixed problem when IgniteCache#isClosed() return false after IgniteCache#close()
    • Release Notes Required

    Description

      IgniteCache#isClosed() still returns false even after IgniteCache#close(). Only server nodes affect by this problem.
      Simple reproducer:

          @Test
          public void test() throws Exception {
              IgniteEx node = startGrid(0);
      
              IgniteCache<Object, Object> cache = node.getOrCreateCache(DEFAULT_CACHE_NAME);
      
              assertFalse(cache.isClosed());
      
              cache.close();
      
              // java.lang.AssertionError
              assertTrue(cache.isClosed());
          }
      

      Attachments

        Issue Links

          Activity

            People

              ksirotkin Konstantin Sirotkin
              antonovsergey93 Sergey Antonov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m