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

Mikhail Pochatkin updated IGNITE-19792:
---------------------------------------
    Epic Link: IGNITE-19280

> 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
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> 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