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:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/KAFKA-14762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693391#comment-17693391 ] 

Greg Harris edited comment on KAFKA-14762 at 2/25/23 12:54 AM:
---------------------------------------------------------------

Based on my understanding of the EOL policy: [https://cwiki.apache.org/confluence/display/KAFKA/Time+Based+Release+Plan#TimeBasedReleasePlan-WhatIsOurEOLPolicy] which i'll reproduce here:
{noformat}
Given 3 releases a year and the fact that no one upgrades three times a year, we propose making sure (by testing!) that rolling upgrade can be done from each release in the past year (i.e. last 3 releases) to the latest version.{noformat}
{noformat}
We will also attempt, as a community to do bugfix releases as needed for the last 3 releases.{noformat}
I believe that this change is compliant with the EOL policy, and does not require a KIP to implement. This ticket is merely effecting the EOL of the 0.8.2.2 version which took place in October 2016.
The system tests and documentation have been much more conservative than the EOL policy so far, and should continue to be for 0.9.0+ as there is not yet a reason to remove the compatibility tests for those versions.


was (Author: gharris1727):
Based on my understanding of the EOL policy: [https://cwiki.apache.org/confluence/display/KAFKA/Time+Based+Release+Plan#TimeBasedReleasePlan-WhatIsOurEOLPolicy] which i'll reproduce here:
{noformat}
Given 3 releases a year and the fact that no one upgrades three times a year, we propose making sure (by testing!) that rolling upgrade can be done from each release in the past year (i.e. last 3 releases) to the latest version.We will also attempt, as a community to do bugfix releases as needed for the last 3 releases.{noformat}
I believe that this change is compliant with the EOL policy, and does not require a KIP to implement. This ticket is merely effecting the EOL of the 0.8.2.2 version which took place in October 2016.
The system tests and documentation have been much more conservative than the EOL policy so far, and should continue to be for 0.9.0+ as there is not yet a reason to remove the compatibility tests for those versions.

> 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
>            Priority: Minor
>
> 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)