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" and "region2" and local cache
"testCache" consuming "region2"
Example as code:
Scenario
Then I sequentially do the following:
1) Run Server1
2) Run Server2 and await servers to form cluster - Topology snapshot [...
servers=2 ...]
3) Run Server3 - after that step, Server1 is halted by itself with following
errors:
class org.apache.ignite.IgniteCheckedException: Requested DataRegion is not
configured: region2
at
org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager.dataRegion(IgniteCacheDatabaseSharedManager.java:688)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCacheGroup(GridCacheProcessor.java:2224)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:2146)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startReceivedCaches(GridCacheProcessor.java:2070)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:762)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2681)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2553)
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.lang.Thread.run(Thread.java:748)
SEVERE: JVM will be halted immediately due to the failure:
[failureCtx=FailureContext [type=SYSTEM_WORKER_TERMINATION, err=class
o.a.i.IgniteCheckedException: Requested DataRegion is not configured:
region2]]
So the question is how to make it work? What am I doing wrong?
Thanks in advance.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/