Re: @CacheLocalStore: toplogy changing strategy

2016-10-07 Thread wetnose
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:

Re: Reassign partitions

2016-09-15 Thread wetnose
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

Re: Reassign partitions

2016-09-10 Thread wetnose
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

Re: Reassign partitions

2016-09-09 Thread wetnose
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:

Re: Reassign partitions

2016-09-07 Thread wetnose
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

Re: Reassign partitions

2016-09-04 Thread wetnose
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

Re: Reassign partitions

2016-09-04 Thread wetnose
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

Re: Reassign partitions

2016-09-01 Thread wetnose
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.

Reassign partitions

2016-09-01 Thread wetnose
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: