kafka/test-common
Colin Patrick McCabe 22b89b6413
KAFKA-19192; Old bootstrap checkpoint files cause problems updated servers (#19545)
Old bootstrap.metadata files cause problems with server that include
KAFKA-18601. When the server tries to read the bootstrap.checkpoint
file, it will fail if the metadata.version is older than 3.3-IV3
(feature level 7). This causes problems when these clusters are
upgraded.

This PR makes it possible to represent older MVs in BootstrapMetadata
objects without causing an exception. An exception is thrown only if we
attempt to access the BootstrapMetadata. This ensures that only the code
path in which we start with an empty metadata log checks that the
metadata version is 7 or newer.

Reviewers: José Armando García Sancio <jsancio@apache.org>, Ismael Juma
 <ismael@juma.me.uk>, PoAn Yang <payang@apache.org>, Liu Zeyu
 <zeyu.luke@gmail.com>, Alyssa Huang <ahuang@confluent.io>
2025-04-24 15:43:35 -04:00
..
test-common-internal-api/src KAFKA-16894: Define feature to enable share groups (#19293) 2025-04-11 12:14:38 +01:00
test-common-runtime/src KAFKA-19192; Old bootstrap checkpoint files cause problems updated servers (#19545) 2025-04-24 15:43:35 -04:00
test-common-util/src KAFKA-18748 Run new tests separately in PRs (#18770) 2025-02-24 17:08:15 -05:00