kafka/test-common
Colin Patrick McCabe 0297ba2c67 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 16:55:22 -04:00
..
test-common-internal-api/src KAFKA-18601: Assume a baseline of 3.3 for server protocol versions (#18845) 2025-02-19 05:57:04 -08:00
test-common-runtime/src KAFKA-19192; Old bootstrap checkpoint files cause problems updated servers (#19545) 2025-04-24 16:55:22 -04:00
test-common-util/src KAFKA-17587 Refactor test infrastructure (#18602) 2025-01-27 15:29:02 -05:00