[
https://issues.apache.org/jira/browse/IGNITE-18955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin reassigned IGNITE-18955:
--------------------------------------------
Assignee: Mirza Aliev
> Add the ability to use filters when data nodes are calculated
> -------------------------------------------------------------
>
> Key: IGNITE-18955
> URL: https://issues.apache.org/jira/browse/IGNITE-18955
> Project: Ignite
> Issue Type: Improvement
> Reporter: Mirza Aliev
> Assignee: Mirza Aliev
> Priority: Major
> Labels: ignite-3
>
> {*}Motivation{*}:
> We need to be able to use filters when data nodes are recalculated
> *Definition of done:*
> * Filters are applied when data nodes are recalculated
> *Implementation details:*
> After the parsing phase, the expression can be converted to a condition for
> the filter from the Java Stream API. This filtering can be performed on a set
> of nodes’ attributes. This set could be retrieved from the CMG, we just need
> consistentIds of nodes.
> After that we need to use this filter when we write data nodes to metastore,
> there are few places, where we do that
> * {{DistributionZoneManager#saveDataNodesToMetaStorageOnScaleUp}}
> * {{DistributionZoneManager#saveDataNodesToMetaStorageOnScaleDown}}
> * {{DistributionZoneManager#saveDataNodesAndUpdateTriggerKeysInMetaStorage}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)