You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mirza Aliev (Jira)" <ji...@apache.org> on 2023/03/03 14:13:00 UTC

[jira] [Created] (IGNITE-18955) Add the ability to use filters when data nodes are calculated

Mirza Aliev created IGNITE-18955:
------------------------------------

             Summary: 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


{*}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)