Make changes to cache entry before data rebalanicng.

2016-12-28 Thread Igor Gnatyuk
Is there a way to make changes to cache entry before it is sent to another node during rebalance? I want new node receive some additional data with every cache entry. This data should be added to the object before marshaling on the node where it was before rebalancing.

Re: Make changes to cache entry before data rebalanicng.

2016-12-28 Thread dkarachentsev
://apache-ignite-users.70518.x6.nabble.com/Make-changes-to-cache-entry-before-data-rebalanicng-tp9777p9782.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Make changes to cache entry before data rebalanicng.

2016-12-28 Thread Yakov Zhdanov
Igor, it is impossible to alter the value since it may cause data inconsistency. Imagine you have 2 nodes and cache with 1 backup. 3 node joins and you alter cache entries being sent from node 1 and 2 to 3, but those entries are currently backed up on 2 and 1 respectively. Please explain why you

Re: Make changes to cache entry before data rebalanicng.

2016-12-29 Thread Igor Gnatyuk
Well, i am running ignite nodes on an "alien"(meh) architecture. JVM implementation there has high latency when accessing data in memory, so i am trying to move my data to c++ side of my code and then run some processing on it. So my idea was to implement my own Marshaller wich would "strip" my dat