You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2025/10/20 06:26:02 UTC
[jira] [Updated] (IGNITE-13671) Support collocation based on multiple fields
[ https://issues.apache.org/jira/browse/IGNITE-13671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evgeny Stanilovsky updated IGNITE-13671:
----------------------------------------
Fix Version/s: 3.2
(was: 3.1)
> 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
> Priority: Major
> Labels: ignite-3
> Fix For: 3.2
>
>
> 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.20.10#820010)