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

KAFKA-10454 / (2.6) Update copartitionSourceGroups when optimization algorithm is triggered #9468

Merged
merged 2 commits into from
Nov 2, 2020

Conversation

lkokhreidze
Copy link
Contributor

cherry-picking #9237 on 2.6 branch

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

lkokhreidze and others added 2 commits October 21, 2020 09:43
…thm is triggered (apache#9237)

Fix KAFKA-10454 bug

Main issue was that when optimization algorithm was removing repartition nodes, corresponding copartitionSourceGroups was never updated. As a result, copartition enforcer wasn't able to do the checks and set proper number of partitions.

Test ensures that whenever optimization is set, changelog topic for the table is not created. And whenever optimization is turned off, appropriate changelog topic for the table is created.

Reviewers: John Roesler <john@confluent.io>, Bill Bejeck <bbejeck@gmail.com>
@lkokhreidze
Copy link
Contributor Author

cc @bbejeck @vvcephei

@bbejeck
Copy link
Contributor

bbejeck commented Oct 21, 2020

ok to test

@bbejeck
Copy link
Contributor

bbejeck commented Oct 21, 2020

Hi @mimaison , do you think we can get this into 2.6.1?

@mimaison
Copy link
Member

@bbejeck Yes we can include this into 2.6

@mimaison
Copy link
Member

mimaison commented Nov 2, 2020

@bbejeck What's the status of this PR? can we get it merged this week?

@bbejeck
Copy link
Contributor

bbejeck commented Nov 2, 2020

What's the status of this PR? can we get it merged this week?

@mimaison yes, I've been waiting on the Jenkins build which I believe is fixed now. Once I can get the build ran, I'll merge it.

@bbejeck
Copy link
Contributor

bbejeck commented Nov 2, 2020

ok to test

@bbejeck
Copy link
Contributor

bbejeck commented Nov 2, 2020

Test this please

@bbejeck
Copy link
Contributor

bbejeck commented Nov 2, 2020

Ran the tests locally and everything passed

@bbejeck bbejeck merged commit 0e8fcb6 into apache:2.6 Nov 2, 2020
@bbejeck
Copy link
Contributor

bbejeck commented Nov 2, 2020

merged #9468 into 2.6

@bbejeck
Copy link
Contributor

bbejeck commented Nov 2, 2020

\cc @mimaison

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants