ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduard Shangareev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10328) Allow to destroy cache in code which were created via SQL
Date Mon, 19 Nov 2018 14:32:00 GMT
Eduard Shangareev created IGNITE-10328:
------------------------------------------

             Summary: Allow to destroy cache in code which were created via SQL
                 Key: IGNITE-10328
                 URL: https://issues.apache.org/jira/browse/IGNITE-10328
             Project: Ignite
          Issue Type: Improvement
            Reporter: Eduard Shangareev
            Assignee: Eduard Shangareev


We couldn't destroy cache without using SQL if it was created via SQL.

{code}
Caused by: class org.apache.ignite.IgniteCheckedException: Only cache created with cache API
may be removed with direct call to destroyCache [cacheName=SQL_PUBLIC_T1]
	at org.apache.ignite.internal.processors.cache.ClusterCachesInfo.processCacheChangeRequests(ClusterCachesInfo.java:677)
	at org.apache.ignite.internal.processors.cache.ClusterCachesInfo.onCacheChangeRequested(ClusterCachesInfo.java:430)
	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.onCustomEvent(GridCacheProcessor.java:3827)
	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.onDiscovery0(GridDiscoveryManager.java:697)
	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.lambda$onDiscovery$0(GridDiscoveryManager.java:604)
	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryMessageNotifierWorker.body0(GridDiscoveryManager.java:2667)
	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryMessageNotifierWorker.body(GridDiscoveryManager.java:2705)
	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
	... 1 more
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message