[
https://issues.apache.org/jira/browse/IGNITE-26615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-26615:
---------------------------------------
Description:
h3. Motivation
The zone filter (DATA_NODES_FILTER) is used in the zone creation notation:
{code:java}
CREATE ZONE TEST_ZONE WITH
...
DATA_NODES_FILTER='$[?(@.name in [\"icut_trot_3345\",
\"icut_trot_3346\"])]'
{code}
But currently the field applies only for user attributes, which are not there
by default. Make a node's name as an available attribute to filter gives the
ability to create any data node group without adding user attributes.
h3. Definition of done
Add the node name (consistent ID for a specific node) in the attribute to
filter nodes in a zone.
was:
h3. Motivation
The zone filter (DATA_NODES_FILTER) is used in the zone creation notation:
{code:java}
CREATE ZONE TEST_ZONE WITH
...
DATA_NODES_FILTER='$[?(@.name in [\"icut_trot_3345\",
\"icut_trot_3346\"])]'
{code}
But currently the field applies only for user attributes, which are not there
by default. Make a node's name as an available attribute to filter gives the
ability to create any data node group without adding user attributes.
h3. definition of done
Add the node name (consistent ID for a specific node) in the attribute to
filter nodes in a zone.
> Add node name in zone filtering attribute
> ------------------------------------------
>
> Key: IGNITE-26615
> URL: https://issues.apache.org/jira/browse/IGNITE-26615
> Project: Ignite
> Issue Type: Improvement
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
>
> h3. Motivation
> The zone filter (DATA_NODES_FILTER) is used in the zone creation notation:
> {code:java}
> CREATE ZONE TEST_ZONE WITH
> ...
> DATA_NODES_FILTER='$[?(@.name in [\"icut_trot_3345\",
> \"icut_trot_3346\"])]'
> {code}
> But currently the field applies only for user attributes, which are not there
> by default. Make a node's name as an available attribute to filter gives the
> ability to create any data node group without adding user attributes.
> h3. Definition of done
> Add the node name (consistent ID for a specific node) in the attribute to
> filter nodes in a zone.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)