Skip to content

Jraft controller 支持设置Observer节点吗 #10066

@shihaomq

Description

@shihaomq

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

linux

RocketMQ version

rockketmq 5.2.0版本

JDK Version

java11

Describe the Bug

看代码支持解析/learner字符地址
java.lang.IllegalArgumentException: Fail to parse peerId:xxxx:9888/learner
at org.apache.rocketmq.controller.impl.JRaftController.initPeerIdMap(JRaftController.java:121)
at org.apache.rocketmq.controller.impl.JRaftController.(JRaftController.java:108)
at org.apache.rocketmq.controller.ControllerManager.initialize(ControllerManager.java:110)
at org.apache.rocketmq.controller.ControllerStartup.start(ControllerStartup.java:134)
at org.apache.rocketmq.controller.ControllerStartup.main0(ControllerStartup.java:56)
at org.apache.rocketmq.controller.ControllerStartup.main(ControllerStartup.java:49)

Steps to Reproduce

1

What Did You Expect to See?

1

What Did You See Instead?

1

Additional Context

1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions