-
Notifications
You must be signed in to change notification settings - Fork 552
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
cloud_storage_compaction_test: a couple test fixes #16284
cloud_storage_compaction_test: a couple test fixes #16284
Conversation
The test was conditioned on ensuring no data was uploaded on the read replica cluster, but it was using metrics from the source cluster to do this check. This fixes this to use the right cluster.
The test ensures that we don't upload from the read replica topics, but it unintentionally does do uploads from consumer offsets topics. This commit changes the behavior of the test to explicitly create the topic without tiered storage.
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/44258#018d3e7a-daee-4500-ab66-7a6f77e85659 |
/cdt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -211,12 +219,12 @@ def test_read_from_replica(self, cloud_storage_type): | |||
|
|||
# read replica success and failures | |||
rr_upload_successes = sum([ | |||
sample.value for sample in self.redpanda.metrics_sample( | |||
sample.value for sample in self.rr_cluster.metrics_sample( | |||
"cloud_storage_successful_uploads", | |||
metrics_endpoint=MetricsEndpoint.METRICS).samples | |||
]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm curious how it was able to work, before this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this check worked before, but it made its way in because cdt isn't run by default for PRs
The test passed in CDT Other CI failures are unrelated |
There were a couple issues with this test:
Fixes #16008
Backports Required
Release Notes