You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "mumrah (via GitHub)" <gi...@apache.org> on 2023/09/11 19:00:01 UTC
[GitHub] [kafka] mumrah opened a new pull request, #14367: KAFKA-15450 Don't allow ZK migration with JBOD
mumrah opened a new pull request, #14367:
URL: https://github.com/apache/kafka/pull/14367
This patch disables broker startup if ZK migrations are enabled while JBOD is also enabled. Once [KIP-858](https://cwiki.apache.org/confluence/display/KAFKA/KIP-858%3A+Handle+JBOD+broker+disk+failure+in+KRaft) is complete, we will remove this logic.
--
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
[GitHub] [kafka] mumrah merged pull request #14367: KAFKA-15450 Don't allow ZK migration with JBOD
Posted by "mumrah (via GitHub)" <gi...@apache.org>.
mumrah merged PR #14367:
URL: https://github.com/apache/kafka/pull/14367
--
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
[GitHub] [kafka] rondagostino commented on a diff in pull request #14367: KAFKA-15450 Don't allow ZK migration with JBOD
Posted by "rondagostino (via GitHub)" <gi...@apache.org>.
rondagostino commented on code in PR #14367:
URL: https://github.com/apache/kafka/pull/14367#discussion_r1321974623
##########
core/src/main/scala/kafka/server/KafkaConfig.scala:
##########
@@ -2373,6 +2373,7 @@ class KafkaConfig private(doLog: Boolean, val props: java.util.Map[_, _], dynami
s"${KafkaConfig.ControllerListenerNamesProp} must not be empty when running in ZooKeeper migration mode: ${controllerListenerNames.asJava}")
require(interBrokerProtocolVersion.isMigrationSupported, s"Cannot enable ZooKeeper migration without setting " +
s"'${KafkaConfig.InterBrokerProtocolVersionProp}' to 3.4 or higher")
+ require(logDirs.size == 1, "Cannot enable ZooKeeper migration when JBOD is in use.")
Review Comment:
nit: I've always disliked the term "JBOD" when in fact it really is multiple log directories. I know people know that JBOD refers to that, but I would personally prefer if it said "Cannot enable ZooKeeper migration when multiple log directories (aka JBOD) is in use".
--
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
[GitHub] [kafka] mumrah commented on pull request #14367: KAFKA-15450 Don't allow ZK migration with JBOD
Posted by "mumrah (via GitHub)" <gi...@apache.org>.
mumrah commented on PR #14367:
URL: https://github.com/apache/kafka/pull/14367#issuecomment-1714674132
Test failures look unrelated
<img width="1012" alt="image" src="https://github.com/apache/kafka/assets/55116/3f25b731-593f-4809-97ea-47ceca61dc03">
--
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