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-13234; Transaction system test should clear URPs after broker restarts #11267

Merged
merged 8 commits into from
Sep 1, 2021

Conversation

hachikuji
Copy link
Contributor

Clearing under-replicated-partitions helps ensure that partitions do not become unavailable longer than necessary as brokers are rolled. This prevents flakiness due to transaction timeouts.

Committer Checklist (excluded from commit message)

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

@hachikuji
Copy link
Contributor Author

Copy link
Contributor

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

LGTM if we have validated that the updated system tests still work.

@hachikuji
Copy link
Contributor Author

@ijuma Thanks. I will post test results once the run completes.

Copy link
Contributor

@showuon showuon left a comment

Choose a reason for hiding this comment

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

LGTM! It makes sense to wait for the under replicas partitions becomes 0 after restart the nodes.

@hachikuji
Copy link
Contributor Author

@ijuma @showuon Thanks for reviews. I've reverted the changes to the upgrade/downgrade tests so that I can move them to a separate PR. I was seeing some compatibility issues with the URP command occasionally, but haven't had enough time to track them down. However, the changes seem stable for the transactions tests, so I'll go ahead and merge.

@hachikuji hachikuji merged commit 25b0857 into apache:trunk Sep 1, 2021
hachikuji added a commit that referenced this pull request Sep 1, 2021
…estarts (#11267)

Clearing under-replicated-partitions helps ensure that partitions do not become unavailable longer than necessary as brokers are rolled. This prevents flakiness due to transaction timeouts.

Reviewers: Luke Chen <showuon@gmail.com>, Ismael Juma <ismael@juma.me.uk>
xdgrulez pushed a commit to xdgrulez/kafka that referenced this pull request Dec 22, 2021
…estarts (apache#11267)

Clearing under-replicated-partitions helps ensure that partitions do not become unavailable longer than necessary as brokers are rolled. This prevents flakiness due to transaction timeouts.

Reviewers: Luke Chen <showuon@gmail.com>, Ismael Juma <ismael@juma.me.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants