mwesterby opened a new pull request, #23179: URL: https://github.com/apache/kafka/pull/23179
Corrects the order of variables used in calculating the `ZkWriteSnapshotTimeMs` to be `endTime - startTime` rather than `startTime - endTime`, which was producing negative values for this metric. This aligns with how this is calculated in the only other call site in `MetadataChangeEvent`. A test has been added to `KRaftMigrationDriverTest` to assert the correct behaviour during the migration. Jira: https://issues.apache.org/jira/browse/KAFKA-20947 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
