David Arthur created KAFKA-15435:
------------------------------------
Summary: KRaft migration record counts in log message are incorrect
Key: KAFKA-15435
URL: https://issues.apache.org/jira/browse/KAFKA-15435
Project: Kafka
Issue Type: Bug
Components: kraft
Affects Versions: 3.6.0
Reporter: David Arthur
The counting logic in MigrationManifest is incorrect and produces invalid
output. This information is critical for users wanting to validate the result
of a migration.
{code}
Completed migration of metadata from ZooKeeper to KRaft. 7117 records were
generated in 54253 ms across 1629 batches. The record types were
{TOPIC_RECORD=2, CONFIG_RECORD=2, PARTITION_RECORD=2,
ACCESS_CONTROL_ENTRY_RECORD=2, PRODUCER_IDS_RECORD=1}.
{code}
Due to the logic bug, the counts will never exceed 2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)