[jira] [Created] (IGNITE-13674) Document Persistent store defragmentation

2020-11-04 Thread Sergey Chugunov (Jira)
Sergey Chugunov created IGNITE-13674: Summary: Document Persistent store defragmentation Key: IGNITE-13674 URL: https://issues.apache.org/jira/browse/IGNITE-13674 Project: Ignite Issue

Re: Custom Affinity Functions proposed for removal?

2020-11-04 Thread Raymond Wilson
We actually use different mappers assigned to different caches using the same source key, eg: public class Key { p, x, y } public class AffinityFunctionOne : IAffinityFunction { public int GetPartition(object key) { return PartitionHash((object as Key).p) } } public class

Re: Custom Affinity Functions proposed for removal?

2020-11-04 Thread mnk
For our case, we have a stateful instance associated with each user session, that actually handles user requests. That stateful instance is usually long-lived. In this case, we want the data for that instance to be stored on other nodes - at the dispatch stage, we choose a node to host the session

[jira] [Created] (IGNITE-13673) Docker: EXTERNAL_LIBS not working

2020-11-04 Thread Matthijs van der Graaf (Jira)
Matthijs van der Graaf created IGNITE-13673: --- Summary: Docker: EXTERNAL_LIBS not working Key: IGNITE-13673 URL: https://issues.apache.org/jira/browse/IGNITE-13673 Project: Ignite

[jira] [Created] (IGNITE-13672) [ML] Add initial JSON export/import support for all models

2020-11-04 Thread Alexey Zinoviev (Jira)
Alexey Zinoviev created IGNITE-13672: Summary: [ML] Add initial JSON export/import support for all models Key: IGNITE-13672 URL: https://issues.apache.org/jira/browse/IGNITE-13672 Project: Ignite

Re: Custom Affinity Functions proposed for removal?

2020-11-04 Thread Valentin Kulichenko
Could you give an example of such mapping? If that’s possible, it might also be very helpful to see the implementation of your mapper. Looking at the code is often the best way to understand a use case :) -Val On Wed, Nov 4, 2020 at 12:29 PM Raymond Wilson wrote: > Actually, it's worse than

Re: Custom Affinity Functions proposed for removal?

2020-11-04 Thread Raymond Wilson
Actually, it's worse than that... We have more than one key -> partition mapping for the same key (part of a CQRS pattern we use). Aren't key affinity functions essentially an API in any event? Cheers, Raymond. On Wed, Nov 4, 2020 at 9:54 PM Valentin Kulichenko <

Re: Custom Affinity Functions proposed for removal?

2020-11-04 Thread Valentin Kulichenko
I've created a ticket for this: https://issues.apache.org/jira/browse/IGNITE-13671 -Val On Wed, Nov 4, 2020 at 12:53 AM Valentin Kulichenko < valentin.kuliche...@gmail.com> wrote: > Thanks, Raymond. So the reason why you couldn't use the @AffinityKeyMapped > annotation or the

[jira] [Created] (IGNITE-13671) Support collocation based on multiple fields

2020-11-04 Thread Valentin Kulichenko (Jira)
Valentin Kulichenko created IGNITE-13671: Summary: Support collocation based on multiple fields Key: IGNITE-13671 URL: https://issues.apache.org/jira/browse/IGNITE-13671 Project: Ignite

Re: Custom Affinity Functions proposed for removal?

2020-11-04 Thread Valentin Kulichenko
Thanks, Raymond. So the reason why you couldn't use the @AffinityKeyMapped annotation or the CacheKeyConfiguration is that collocation is based on *two fields*, not just one field. Is my understanding correct? If that's the case, I believe it can be easily improved by providing ways to specify