Skip to content

The old master address printed is the same as the new master address #4617

Closed

Description

@Oliverwqcwrw

BUG REPORT

  1. Please describe the issue you observed:

In org.apache.rocketmq.broker.slave.SlaveSynchronize#setMasterAddr

The old master address printed is the same as the new master address

 public void setMasterAddr(String masterAddr) {
      if (!StringUtils.equals(this.masterAddr, masterAddr)) {
          this.masterAddr = masterAddr;
          LOGGER.info("Update master address from {} to {}", this.masterAddr, masterAddr);
      }
  }
  • What did you do (The steps to reproduce)?

  • What is expected to see?

The old master address printed is the different as the new master address

  • What did you see instead?

The old master address printed is the same as the new master address

  1. Please tell us about your environment:

develop

  1. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

Activity

  1. added a commit that references this issue on Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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