Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster: bump serde::version of start_test_request to 2 #22745

Conversation

WillemKauf
Copy link
Contributor

@WillemKauf WillemKauf commented Aug 6, 2024

This serde::version<> needed bumping to serde::version<2>, since serde::version<0> is the version of start_test_request with just diskcheck_opts and netcheck_opts (pre v24.2.x), while serde::version<1> is the version with unknown_checks added, and serde::version<2> needs to reflect the most recently added cloudcheck_opts (since version v24.2.x).

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.2.x
  • v24.1.x
  • v23.3.x

Release Notes

  • none

This `serde::version<>` needed bumping to `serde::version<2>`, since
`serde::version<0>` is the version of `start_test_request` with just
`diskcheck_opts` and `netcheck_opts`, while `serde::version<1>` is the
version with `unknown_checks` added, and `serde::version<2>` needs to
reflect the most recently added `cloudcheck_opts`.
@vbotbuildovich
Copy link
Collaborator

@@ -341,7 +341,7 @@ struct empty_request
struct start_test_request
: serde::envelope<
start_test_request,
serde::version<1>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISTR we maybe don't need to bump if the difference in version doesn't span a release? Were cloudcheck_opts and unknown_checks added in the same version? Or was one backported but not the other?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unknown_checks exists as of v24.1.x due to backports, cloudcheck_opts is only in v24.2.x.

@andrwng andrwng requested a review from dotnwat August 6, 2024 19:02
@WillemKauf
Copy link
Contributor Author

Superseded by #22831.

@WillemKauf WillemKauf closed this Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants