Skip to content

[BUG] Setting validation missing during node startup #14777

@jainankitk

Description

@jainankitk

Describe the bug

While reviewing another PR, I noticed if we use addSettingsUpdateConsumer with validator, that does not apply to the setting value during node startup. Though I could not find many examples, there are definitely few like the one in ClusterManagerTaskThrottler.

Related component

Cluster Manager

To Reproduce

  1. Add incorrect value for the setting in yml and start the node
  2. Setting is accepted without any errors

Expected behavior

Error should be thrown if the setting value in yml file is incorrect

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions