ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ender <en...@evam.com>
Subject Re: ignite.destroyCache() method hangs the cluster
Date Mon, 11 Sep 2017 12:37:58 GMT
Hi Mikhail,

Same problem still exists in ignite ver. 2.1.0#20170720-sha1:a6ca5c8a.

As a workaround, I manually clear the cache with iterating and deleting
entries before destroying cache:

IgniteCache<Object, Object> cache = ignite.cache(cachename);
            for (Cache.Entry<Object, Object> objectObjectEntry : cache) {

cache.clear() method also blocks the cache.get operations.

Is there any better method for destroying cache without blocking?

Thank you.

Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message