Re: Locking of partition with affinityRun/affinityCall

2017-03-01 Thread Denis Magda
I’ve reworked the doc removing “migration” mentioning at all that caused the confusion. Merged my changes: * It's guaranteed that the data of the whole partition, the affinity key belongs to, * will present on the destination node throughout the job execution. Taras, please close your pull-requ

Re: Locking of partition with affinityRun/affinityCall

2017-03-01 Thread Vladimir Ozerov
I do not like the change because it is too verbose and adds no useful information for users. Moreover, normally users have no idea what "partition eviction" means. Let's simply write "Partition's data is guaranteed to be available on the node while job is being executed". This should be enough. On

Re: Locking of partition with affinityRun/affinityCall

2017-02-21 Thread Denis Magda
Taras, thanks. Looks good to merge. — Denis > On Feb 20, 2017, at 4:43 AM, Taras Ledkov wrote: > > Denis, > > I've fixed javadocs for affinityRun/affinityCall. > > Please review the changes at the PR: > https://github.com/apache/ignite/pull/1550 > > > On 08.12.2016 12:06, Taras Ledkov wrot

Re: Locking of partition with affinityRun/affinityCall

2017-02-20 Thread Taras Ledkov
Denis, I've fixed javadocs for affinityRun/affinityCall. Please review the changes at the PR: https://github.com/apache/ignite/pull/1550 On 08.12.2016 12:06, Taras Ledkov wrote: Denis, The second point is absolutely correct. The rebalancing isn't blocked. The partition will not be evicted

Re: Locking of partition with affinityRun/affinityCall

2017-02-17 Thread Taras Ledkov
Denis, Please review the javadoc of the affinity jobs. PR: https://github.com/apache/ignite/pull/1550 On 08.12.2016 12:06, Taras Ledkov wrote: Denis, The second point is absolutely correct. The rebalancing isn't blocked. The partition will not be evicted while the partition is reserved. I'

Re: Locking of partition with affinityRun/affinityCall

2016-12-08 Thread Taras Ledkov
Denis, The second point is absolutely correct. The rebalancing isn't blocked. The partition will not be evicted while the partition is reserved. I'll update javadoc ASAP. On Wed, Nov 30, 2016 at 10:23 PM, Denis Magda wrote: > Taras, > > There is a question in regards to the feature contribute

Locking of partition with affinityRun/affinityCall

2016-11-30 Thread Denis Magda
Taras, There is a question in regards to the feature contributed by you recently https://issues.apache.org/jira/browse/IGNITE-2310 The Java API doc says that the partition will not be migrated while a job is being executed on a target node. D