You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Stanilovsky Evgeny (JIRA)" <ji...@apache.org> on 2017/12/01 11:54:00 UTC

[jira] [Created] (IGNITE-7087) Ignite.destroyCache leave cache serialized config and prevent from repeatable cache creation.

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)