-
Notifications
You must be signed in to change notification settings - Fork 589
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
CI Failure (RuntimeError: Failed checks: 1; Incomplete checks: 0) in CloudStorageTimingStressTest.test_cloud_storage
#10241
Comments
The failed checks:
Snippets of the manifest:
The Kafka start offset reported by Redpanda's admin endpoint (4024, as indicated by the start offset - the segment that contains the start offset's delta offset = 4070 - 46) does not match with what the test sees in S3 (4028, as indicated by the start offset - first segment's delta_offset = 4070 - 42). This logic doesn't match what Redpanda actually does to compute the Kafka start offset: find the exact segment with the base offset that matches the start offset, else the first segment if it has a higher offset than the start, and use its delta to compute the Kafka offset. |
The bucket view previously always used the first segment's delta offset to translate the start offset. This is no longer how Redpanda reports the start offset. Instead, it finds the segment whose base offset matches the start offset, or the first segment if its base offset is higher than the start offset, and uses its delta to do the translation[1]. [1] https://github.com/redpanda-data/redpanda/blob/e133de2fe76ae34d8e9972eb8a225dd346d3628a/src/v/cloud_storage/partition_manifest.cc#L308 Fixes redpanda-data#10241
It isn't clear why this started failing more frequently recently, given the code to report Kafka start offset hasn't changed in a couple weeks. Maybe there are multiple failure cases here. I put up #10247 to address the start offset issue. |
open-close to make pandatriage happy (issue is stale, last occurence 2023-07-03) |
https://buildkite.com/redpanda/redpanda/builds/27621#01879f66-e9e1-41fe-9300-f597bf6f52af
The text was updated successfully, but these errors were encountered: