You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (Jira)" <ji...@apache.org> on 2020/11/04 09:04:00 UTC
[jira] [Created] (IGNITE-13671) Support collocation based on
multiple fields
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
Issue Type: Improvement
Reporter: Valentin Kulichenko
Fix For: 3.0
In Ignite 2.x there are two ways to configure collocation: @AffinityKeyMapped annotation and CacheKeyConfiguration bean. Both allow specifying *only one field* to be used for collocation.
Let's say there is a key class that looks like this:
{code:java}
class MyCacheKey {
int a;
int b;
int c;
}{code}
In this case, there is no way to collocate the data based on a pair of fields (e.g. a and b).
In 3.0, we should have an API that would allow to specify two or more fields to be used for collocation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)