Have found that it could be solved with node filters and attributes:
mark server with special custom attribute:
new IgniteConfiguration().setUserAttributes(Collections.singletonMap("role",
"hasRegion"))
specify node filter for the cache, which selects only servers with custom
attribute mentioned
Example as code:
package com.test.ignite.dataregions;
import org.apache.ignite.Ignite;
import org.apache.ignite.Ignition;
import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.DataRegionConfiguration;
import org
Hi there!
Is it allowed to have different data regions on server nodes?
Example definition
For instance, I want to have the following cluster:
1) server node #1 with data region "region1"
2) server node #2 with data regions "region1" and "region2"
3) server node #3 with data regions "region1" an