Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The cluster needs to be upgraded before configuring multiple entries in log.dirs . As the upgraded brokers come up, the existing meta.properties  files in each broker are updated with a generated directory.id  and directory.ids . After the upgrade, the metadata.version  is feature flag needs to be upgraded using kafka-features.sh. Then the brokers can be reconfigured with multiple entries in log.dirs.

As per KIP-631 storage directories must be formatted with the storage tool, which will generate the new meta.properties files and update the existing one.

Upon being reconfigured with multiple log directories, brokers will register them with the controller via BrokerRegistration and use AssignReplicasToDirectories to create the partition-logdirectory assignments in the cluster metadata before becoming UNFENCED.

...