You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by bhlewka <bh...@invidi.com> on 2020/09/01 21:03:03 UTC

Possible to change cache config without destroying and recreating cache?

Hi All, 

I have an ignite cache that is getting an affinity backup filter function
added
(https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/affinity/rendezvous/ClusterNodeAttributeAffinityBackupFilter.html)
to it, and I'm noticing that it isn't working unless it is a newly created
cache. 

Is it possible to change/add this filter function to caches that are already
created and contain data, or do they have to be destroyed and recreated?

Thanks!



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

Re: Possible to change cache config without destroying and recreating cache?

Posted by Stephen Darlington <st...@gridgain.com>.
Most cache configuration options are immutable, so drop and recreate the cache is the way to go.

Regards,
Stephen

> On 1 Sep 2020, at 22:03, bhlewka <bh...@invidi.com> wrote:
> 
> Hi All, 
> 
> I have an ignite cache that is getting an affinity backup filter function
> added
> (https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/affinity/rendezvous/ClusterNodeAttributeAffinityBackupFilter.html)
> to it, and I'm noticing that it isn't working unless it is a newly created
> cache. 
> 
> Is it possible to change/add this filter function to caches that are already
> created and contain data, or do they have to be destroyed and recreated?
> 
> Thanks!
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/