Paolo Patierno created KAFKA-15689: -------------------------------------- Summary: KRaftMigrationDriver not logging the skipped event when expected state is wrong Key: KAFKA-15689 URL: https://issues.apache.org/jira/browse/KAFKA-15689 Project: Kafka Issue Type: Bug Affects Versions: 3.6.0 Reporter: Paolo Patierno Assignee: Paolo Patierno
The KRaftMigrationDriver.checkDriverState is used in multiple implementations of the MigrationEvent base class but when it comes to log that an event was skipped because the expected state is wrong, it always log "KRafrMigrationDriver" instead of the skipped event. This is because its code has something like this: {code:java} log.info("Expected driver state {} but found {}. Not running this event {}.", expectedState, migrationState, this.getClass().getSimpleName()); {code} Of course, the "this" is referring to the KRafrMigrationDriver class. It should print the specific skipped event instead. -- This message was sent by Atlassian Jira (v8.20.10#820010)