[
https://issues.apache.org/jira/browse/KAFKA-19489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Wu reassigned KAFKA-19489:
--------------------------------
Assignee: Kevin Wu
> storage tool should check controller.quorum.voters is not set alongside a
> dynamic quorum flag when formatting
> -------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-19489
> URL: https://issues.apache.org/jira/browse/KAFKA-19489
> Project: Kafka
> Issue Type: Bug
> Reporter: Kevin Wu
> Assignee: Kevin Wu
> Priority: Major
>
> The storage tool allows for setting both the static voters config
> ({{{}controller.quorum.voters{}}}) and attempting to format with one of
> {{--standalone, --initial-controllers, --no-initial-controllers}} on a
> controller, but instead it should throw an exception. This is because setting
> {{controller.quorum.voters}} itself is formatting the voter set.
> Setting {{controller.quorum.voters}} while trying to format with a
> {{--standalone}} and {{--no-initial-controllers}} setup can result in 2 voter
> sets. For example, in a three node setup, the two nodes that formatted with
> {{--no-initial-controllers}} could form quorum with each other since they
> have the static voter set, and the {{--standalone}} node would ignore the
> config and read the voter set of itself from its log, forming its own quorum
> of 1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)