Hi,
Thanks for the reply! I've already extracted the Local Recoverable Store
classes from the GridGain core library, decompiled them and tried to use in
my example. The works absolutely in the same way.
--
View this message in context:
Hi Val,
Did you look at my example? It there a mistake in the Ignite configuration
or in the steps I did?
-Alex
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p7760.html
Sent from the Apache Ignite Users mailing list archive at
Hi,
I've created a test project for you
https://dl.dropboxusercontent.com/u/46370629/localstore-example.zip
Please, find readme.txt in the archive.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p7659.html
Sent from the Apache Ignite
Hi,
In my example Ignite moves entries that a loaded from the local store to the
cache. If an entry is not loaded yet then it will not be moved to the new
node and potentially will be lost.
I will prepare an example for you to demonstrate the problem.
--
View this message in context:
Hi,
Look at the following list of steps
* Create a cache "X" with 3 partitions and 1 backup, configure a local store
* Start Node1 and Node2, the affinity function assigns nodes as follows
part.0: Node1 (prim) Node2 (back)
part.1: Node2 (prim) Node1 (back)
part.2: Node1 (prim) Node2
AffinityFunction is called only if a server node joins of leaves the
topology. But I cannot make Ignite call it at any time.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p7524.html
Sent from the Apache Ignite Users mailing list
If I add a new node to a cluster I want to be able to move some cache
partitions to it. The node is empty and its storage has no records. Ignite
can move a partition with all loaded entries to the new node and write these
entries to the node's storage. But enries that are not loaded are ignored. I
Hi,
We have no global DB behind the grid. We marked our Store with
@CacheLocalStore annotation. But Ignite does not move stored entries when
rebalancig partitions. So we should have more control of partition
assignment to be able to change the assignment manually after storage
synchronization.
The AffinityFunction.assignPartitions method is called when a server node
joins or left the topology. Is there a way to reassign partitions for a
cache without changing the topology (e.g. to move a backup partition from
one node to another)?
--
View this message in context: