You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/08/03 18:38:07 UTC
[GitHub] [kafka] rondagostino commented on a change in pull request #11166: KAFKA-13159 Enable additional transaction system tests in KRaft
rondagostino commented on a change in pull request #11166:
URL: https://github.com/apache/kafka/pull/11166#discussion_r682008773
##########
File path: tests/kafkatest/tests/core/replication_test.py
##########
@@ -122,14 +122,16 @@ def min_cluster_size(self):
@matrix(failure_mode=["clean_shutdown", "hard_shutdown", "clean_bounce", "hard_bounce"],
broker_type=["leader"],
security_protocol=["PLAINTEXT"],
- enable_idempotence=[True])
+ enable_idempotence=[True],
+ metadata_quorum=quorum.all_non_upgrade)
@matrix(failure_mode=["clean_shutdown", "hard_shutdown", "clean_bounce", "hard_bounce"],
broker_type=["leader"],
security_protocol=["PLAINTEXT", "SASL_SSL"],
metadata_quorum=quorum.all_non_upgrade)
@matrix(failure_mode=["clean_shutdown", "hard_shutdown", "clean_bounce", "hard_bounce"],
broker_type=["controller"],
- security_protocol=["PLAINTEXT", "SASL_SSL"])
+ security_protocol=["PLAINTEXT", "SASL_SSL"],
+ metadata_quorum=quorum.all_non_upgrade)
Review comment:
I wonder if this is going to fail. The below code seems to be incorrect:
```
if failure_mode == "controller" and metadata_quorum != quorum.zk:
raise Exception("There is no controller broker when using KRaft metadata quorum")
```
That maybe should be checking for `broker_type` instead of `failure_mode`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org