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

rp_storage_tool: account for labels #20584

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

andrwng
Copy link
Contributor

@andrwng andrwng commented Jun 27, 2024

Upcoming changes will enable supplying a cluster UUID to a topic to change the remote paths that get used. To account for this, this changes rp_storage_tool to look for the new path format and collect the cluster UUID labels. This will allow us to continue running rp_storage_tool in ducktape tests once the feature is enabled.

The high level approach taken here is to collect and serialize labels as a part of the NTPR and NTR objects that are associated with objects and anomalies. The label is optional, and a None label will refer to hash-prefixed objects.

This has change has been seen to allow CI to pass in a feature branch I'm working in: https://buildkite.com/redpanda/redpanda/builds/50695#_

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.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • none

@andrwng
Copy link
Contributor Author

andrwng commented Jun 28, 2024

/dt

Upcoming changes will enable supplying a cluster UUID to a topic to
change the remote paths that get used. To account for this, this changes
rp_storage_tool to look for the new path format and collect the cluster
UUID labels. This will allow us to continue running rp_storage_tool in
ducktape tests once the feature is enabled.
Copy link
Contributor

@abhijat abhijat left a comment

Choose a reason for hiding this comment

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

lgtm

@andrwng andrwng merged commit 6094a4e into redpanda-data:dev Jul 1, 2024
12 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants