Skip to content

[Issue #11348][pulsar-broker] Fix can not get leader broker in follower brokers - #11353

Merged
codelipenghui merged 2 commits into
apache:masterfrom
Demogorgon314:fix_get_leader_broker_in_follower
Jan 18, 2022
Merged

[Issue #11348][pulsar-broker] Fix can not get leader broker in follower brokers#11353
codelipenghui merged 2 commits into
apache:masterfrom
Demogorgon314:fix_get_leader_broker_in_follower

Conversation

@Demogorgon314

Copy link
Copy Markdown
Member

Fixes #11348

Motivation

The follower broker use pulsar-admin should be able to get leader-broker

Verifying this change

A new test was added for verifying the follower broker to get leader-broker

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

This is a bug fix, no need documentation.

@Anonymitaet Anonymitaet added the doc-not-needed Your PR changes do not impact docs label Jul 19, 2021
@Anonymitaet

Anonymitaet commented Jul 19, 2021

Copy link
Copy Markdown
Member

@Demogorgon314 thanks for providing doc-related info!

@sijie sijie added this to the 2.9.0 milestone Jul 19, 2021
@eolivelli eolivelli modified the milestones: 2.9.0, 2.10.0 Oct 6, 2021

@hezhangjian hezhangjian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a rebase

@Demogorgon314
Demogorgon314 force-pushed the fix_get_leader_broker_in_follower branch from a8e11a2 to a791060 Compare January 18, 2022 03:14
@Demogorgon314

Copy link
Copy Markdown
Member Author

Look like #13066 already fixed this issue, I just add a test to verify it.

@codelipenghui
codelipenghui merged commit 6a2e6fc into apache:master Jan 18, 2022
@Demogorgon314
Demogorgon314 deleted the fix_get_leader_broker_in_follower branch January 18, 2022 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Pulsar admin] Can not get leader broker in non-leader brokers.

8 participants