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

Support @Immutable logic for distributed configuration

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ksizov  Kirill Sizov
            rpuch Roman Puchkovskiy

            Dates

              Created:
              Updated:

              Time Tracking

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

                Slack

                  Issue deployment