You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Greg Harris (Jira)" <ji...@apache.org> on 2023/02/25 00:43:00 UTC

[jira] [Created] (KAFKA-14762) Remove 0_8_2_LATEST from rolling upgrade system test

Greg Harris created KAFKA-14762:
-----------------------------------

             Summary: Remove 0_8_2_LATEST from rolling upgrade system test
                 Key: KAFKA-14762
                 URL: https://issues.apache.org/jira/browse/KAFKA-14762
             Project: Kafka
          Issue Type: Task
          Components: system tests
            Reporter: Greg Harris


Currently, the core/upgrade_test.py exercises rolling from various past Kafka versions to the development version. The earliest version that it currently tests is 0_8_2_LATEST, 0.8.2.2, released October 2, 2015.

The test has a special case for that that version, which does not contain a copy of the `tools` jar. The test is written to make use of the tools jar for assertions, but because the jar does not exist in 0.8.2.2, a jar from the latest development version is used instead. For example, this has the effect that when executing the 0.8.2.2 upgrade case, the 3.5.0-SNAPSHOT tools jar is on the classpath with the 0.8.2.2 clients jar.

Because of this, development on the VerifiableProducer has needed to be backwards compatible with the 0.8.2.2 clients jar, and this has lead to code duplication and other limitations on the maintenance that can be done to the class. This appears to be mostly an artifact of how the testing is carried out, as upgrades are typically performed without mixing jars from different versions of Kafka.

In order to lift those limitations, we should eliminate this one version from compatibility testing. Accompanying this change, we should update the latest documentation to say "Upgrading to <version> from any version 0.9.x through <version>" instead of 0.8.x, since that version will no longer be regularly tested.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)