Skip to content

[Bug] if dynamicConfig item in zk do not exist in broker, will fail for other dynamic config #17681

Closed

Description

@leizhiyuan

Search before asking

  • I searched in the issues and found nothing similar.

Version

master

Minimal reproduce step

we upgrade broker ,add a new dynamic config,then we have a,b,c in zk config

then we rollback broker, only a ,c exist in broker code,

Field configField = dynamicConfigurationMap.get(configKey).field;

dynamicConfigurationMap.get(configKey) will be null

WeChatWorkScreenshot_e20064b8-75c7-4ac8-bd1f-ea3e0e43657a

WeChatWorkScreenshot_8d3ad1a7-ba04-4380-9ccb-ff9713459987

What did you expect to see?

if dynamic config is null ,skip it

What did you see instead?

image

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. added
    type/bug
    on Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions