Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update replication cluster but not update replicator. #14570

Merged
merged 18 commits into from Mar 17, 2022

Conversation

Technoboy-
Copy link
Contributor

Motivation

When updating replication-cluster for a topic from CLI, the broker doesn't update the replicator.

Documentation

  • no-need-doc

@Technoboy- Technoboy- self-assigned this Mar 6, 2022
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Mar 6, 2022
Copy link
Contributor

@Jason918 Jason918 left a comment

Choose a reason for hiding this comment

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

LGTM

@Jason918
Copy link
Contributor

Jason918 commented Mar 7, 2022

@AnonHxy Please help review this.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

It seems that this PR would revert #232 changes. @rdhabalia would you be able to review this PR to ensure that it doesn't break things?

@Technoboy-
Copy link
Contributor Author

It seems that this PR would revert #232 changes. @rdhabalia would you be able to review this PR to ensure that it doesn't break things?

BTW, this pr relies on #14605

@Technoboy-
Copy link
Contributor Author

It seems that this PR would revert #232 changes. @rdhabalia would you be able to review this PR to ensure that it doesn't break things?

I think #232 has added the test to coverage this.

@Technoboy-
Copy link
Contributor Author

Hi, @lhotari , could you help review this again ?

@lhotari
Copy link
Member

lhotari commented Mar 15, 2022

Hi, @lhotari , could you help review this again ?

I'd rather have @rdhabalia take a look since he knows this area well.
To me it looks like this PR is removing changes made in #232. It would be good to find an explanation of why that code was there in the first place and why it's now safe to remove.

@Technoboy-
Copy link
Contributor Author

Hi, @lhotari , could you help review this again ?

I'd rather have @rdhabalia take a look since he knows this area well. To me it looks like this PR is removing changes made in #232. It would be good to find an explanation of why that code was there in the first place and why it's now safe to remove.

Yes, we roll back the code. But the test is there.

@Technoboy-
Copy link
Contributor Author

Hi @merlimat , could you give some idea about this pr ?

@Technoboy-
Copy link
Contributor Author

Hi, @lhotari , could you help review this again ?

I'd rather have @rdhabalia take a look since he knows this area well. To me it looks like this PR is removing changes made in #232. It would be good to find an explanation of why that code was there in the first place and why it's now safe to remove.

Hi @lhotari , I remove the modification of startReplProducers. #232 is too old to find the problem at that time. So keep it as the original implementation, I will open another issue to track.
As some users occur the above issue, we need this pr.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@codelipenghui codelipenghui merged commit bcbeb53 into apache:master Mar 17, 2022
aparajita89 pushed a commit to aparajita89/pulsar that referenced this pull request Mar 21, 2022
codelipenghui pushed a commit that referenced this pull request Apr 19, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
@Technoboy- Technoboy- deleted the fix-replicator-1 branch August 10, 2022 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants