Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19792

Support @Immutable logic for distributed configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 3.0
    • None

    Description

      For distributed properties, the following scenario makes sense:

      1. Property value might be set on cluster init
      2. If it is provided, it overrides the default; otherwise, the default (set in the @Value annotation) is used
      3. 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

          Activity

            People

              ksizov  Kirill Sizov
              rpuch Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m