Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7935

UNSUPPORTED_COMPRESSION_TYPE if ReplicaManager.getLogConfig returns None

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.1.1
    • Fix Version/s: 2.2.0, 2.1.2
    • Component/s: core
    • Labels:
      None

      Description

      When adding zstd support, the following check was added:

      if (logConfig.forall(_.compressionType == ZStdCompressionCodec.name) && versionId < 10) {

      Instead of `forall`, it should have been `exists`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijuma Ismael Juma
                Reporter:
                ijuma Ismael Juma
                Reviewer:
                Rajini Sivaram
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: