[ https://issues.apache.org/jira/browse/KAFKA-7935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771280#comment-16771280 ]
ASF GitHub Bot commented on KAFKA-7935: --------------------------------------- rajinisivaram commented on pull request #6274: KAFKA-7935: UNSUPPORTED_COMPRESSION_TYPE if ReplicaManager.getLogConfig returns None URL: https://github.com/apache/kafka/pull/6274 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > UNSUPPORTED_COMPRESSION_TYPE if ReplicaManager.getLogConfig returns None > ------------------------------------------------------------------------ > > Key: KAFKA-7935 > URL: https://issues.apache.org/jira/browse/KAFKA-7935 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 2.1.0, 2.1.1 > Reporter: Ismael Juma > Assignee: Ismael Juma > Priority: Critical > Fix For: 2.2.0, 2.1.2 > > > When adding zstd support, the following check was added: > {quote}if (logConfig.forall(_.compressionType == ZStdCompressionCodec.name) > && versionId < 10) { > {quote} > Instead of `forall`, it should have been `exists`. -- This message was sent by Atlassian JIRA (v7.6.3#76005)