Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
IGNITE-19911 Initial cluster configuration should be validated against the default configuration
- Open
-
IGNITE-19502 Separate component to keep database schema and manage changes in it
- Resolved
-
IGNITE-20499 Ability to obtain actual cluster configuration values during startup.
- Resolved
- links to