Stanilovsky Evgeny created IGNITE-7087:
------------------------------------------

             Summary: Ignite.destroyCache leave cache serialized config and 
prevent from repeatable cache creation.
                 Key: IGNITE-7087
                 URL: https://issues.apache.org/jira/browse/IGNITE-7087
             Project: Ignite
          Issue Type: Bug
          Components: cache, persistence
    Affects Versions: 2.4
            Reporter: Stanilovsky Evgeny


enable pds and run simple test.
{code}
    public void testCreateDestroyCaches() throws Exception {
        Ignite srv0 = startGrid(0);
        srv0.active(true);
        srv0.createCache(new CacheConfiguration<Object, Object>("myCache"));
        srv0.destroyCache("myCache");
        stopAllGrids();
        srv0 = startGrid(0);
        srv0.active(true);
        srv0.createCache(new CacheConfiguration<Object, Object>("myCache"));
    }
{code}


{code}
[ERROR][main][root] Test failed.
org.apache.ignite.cache.CacheExistsException: Failed to start cache (a cache 
with the same name is already started): myCache
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to