[ 
https://issues.apache.org/jira/browse/IGNITE-19792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Evgeny Stanilovsky updated IGNITE-19792:
----------------------------------------
    Fix Version/s: 3.2
                       (was: 3.1)

> Support @Immutable logic for distributed configuration
> ------------------------------------------------------
>
>                 Key: IGNITE-19792
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19792
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Assignee:  Kirill Sizov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> For distributed properties, the following scenario makes sense:
>  # Property value might be set on cluster init
>  # If it is provided, it overrides the default; otherwise, the default (set 
> in the {{@Value}} annotation) is used
>  # Any attempt to modify the property value using a changer is rejected by a 
> validator
> {{@Immutable}} annotation is designed to trigger such behavior.
> Now, the observed behavior is different: if a property is annotated as 
> {{{}@Immutable{}}}, then, if a value is supplied during cluster 
> initialization, the value is silently ignored, so it is impossible to 
> configure such property to anything different from the default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to