Description
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.
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}.
Due to the logic bug, the counts will never exceed 2.