Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15341

Enabling TS for a topic during rolling restart causes problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 3.8.0
    • None

    Description

      When we are in a rolling restart to enable TS at system level, some brokers have TS enabled on them and some don't. We send an alter config call to enable TS for a topic, it hits a broker which has TS enabled, this broker forwards it to the controller and controller will send the config update to all brokers. When another broker which doesn't have TS enabled (because it hasn't undergone the restart yet) gets this config change, it "should" fail to apply it. But failing now is too late since alterConfig has already succeeded since controller->broker config propagation is done async.

      With this JIRA, we want to have controller check if TS is enabled on all brokers before applying alter config to turn on TS for a topic.

      Context: https://github.com/apache/kafka/pull/14176#discussion_r1291265129

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              divijvaidya Divij Vaidya
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: