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

rptest: Test spillover and timequeries #13034

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

Lazin
Copy link
Contributor

@Lazin Lazin commented Aug 26, 2023

Extend timequery test to check cloud-storage with and without spillover enabled. Validate that the segments are actuallys spilled by checking the manifest.

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

Release Notes

  • none

@Lazin Lazin requested review from VladLazar and abhijat August 26, 2023 13:13
@Lazin Lazin force-pushed the fix/improve-timequery-test branch from 1e71407 to 06e63b1 Compare August 27, 2023 13:38
Extend timequery test to check cloud-storage with and without spillover
enabled. Validate that the segments are actuallys spilled by checking
the manifest.
@Lazin Lazin force-pushed the fix/improve-timequery-test branch from 06e63b1 to aa3e9ef Compare August 27, 2023 17:42
@Lazin
Copy link
Contributor Author

Lazin commented Aug 28, 2023

CI failure - #13035

Comment on lines +328 to +329
assert manifest["archive_start_offset"] == 0
assert manifest["start_offset"] > 0
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:

assert manifest["archive_start_offset"] == 0 && manifest["start_offset"] > 0, f"spillover was setup but it was not generated: {manifest["archive_start_offset"]=} {manifest["start_offset"]=}"

or something along these lines, just to have some context in the remote case this assert fires

@Lazin Lazin merged commit 80d344c into redpanda-data:dev Aug 28, 2023
@vbotbuildovich
Copy link
Collaborator

/backport v23.2.x

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.

3 participants