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-2896: Added system test for partition re-assignment #655

Closed
wants to merge 3 commits into from

Conversation

apovzner
Copy link
Contributor

Partition re-assignment tests with and without broker failure.

@apovzner apovzner changed the title KAFKA-2896 Added system test for partition re-assignment KAFKA-2896: Added system test for partition re-assignment Dec 10, 2015
@apovzner
Copy link
Contributor Author

@granders Please review.

"replication-factor": 3,
'configs': {"min.insync.replicas": 2}}
})
self.num_partitions = 3
Copy link
Contributor

Choose a reason for hiding this comment

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

3 seems quite a small number. It might be good to use 20 or something if there isn't a good reason not to.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was cautious.... :) good point, I will increase number of partitions.

@benstopford
Copy link
Contributor

@apovzner - does it pass consistently with bounce enabled? I'm intrigued :)

@apovzner
Copy link
Contributor Author

@benstopford it passed locally few times, and once in Jenkins. I will increase number of partitions and run in Jenkins a few times.

self.zk.start()

def min_cluster_size(self):
"""Override this since we're adding services outside of the constructor"""
Copy link
Contributor

Choose a reason for hiding this comment

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

This is more of a comment than a docstring.

@ewencp
Copy link
Contributor

ewencp commented Dec 10, 2015

@apovzner Test itself looks good to me, just suggested some tweaks to the code and have a question about whether we need all variants. I'm convinced it works reliably -- I see multiple successes on Jenkins and ran it successfully a few times locally.

@granders
Copy link
Contributor

@apovzner Not much to add after Ben and Ewen's comments. Overall looks good; I agree parse_describe_topic could be refactored elsewhere, and that PLAINTEXT is likely enough.

…e security protocol for partition re-assignment test
@asfgit asfgit closed this in a5f1537 Dec 11, 2015
efeg added a commit to efeg/kafka that referenced this pull request Jan 29, 2020
…ribution goals during detection and fixing of goal violations (apache#655)
lbradstreet pushed a commit to lbradstreet/kafka that referenced this pull request Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants