David Arthur created KAFKA-15389:
------------------------------------
Summary: MetadataLoader may publish an empty image on first start
Key: KAFKA-15389
URL: https://issues.apache.org/jira/browse/KAFKA-15389
Project: Kafka
Issue Type: Bug
Reporter: David Arthur
When first loading from an empty log, there is a case where MetadataLoader can
publish an image before the bootstrap records are processed. This isn't exactly
incorrect, since all components implicitly start from the empty image state,
but it might be unexpected for some MetadataPublishers.
For example, in KRaftMigrationDriver, if an old MetadataVersion is encountered,
the driver transitions to the INACTIVE state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)