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

[Backport 2024.1] fix(sstables_validator): fix upload sstables #9907

Draft
wants to merge 1 commit into
base: branch-2024.1
Choose a base branch
from

Conversation

scylladbbot
Copy link

Error message changed for scrub validation and upload sstables in validator stopped working. Still event handler catched that and uploaded

  • but actually should not when scrub validator sends them.

Fix by adjusting to error line (should be more elastic) and adjusted event handler to not send corrupted sstables in context of sstables validator.

Added sstable util to corrupt sstable (just for testing this and possibly may be used in other contexts).

fixes: #9854

Testing

PR pre-checks (self review)

  • I added the relevant backport labels
  • I didn't leave commented-out/debugging code

Reminders

  • Add New configuration option and document them (in sdcm/sct_config.py)

  • Add unit tests to cover my changes (under unit-test/ folder)

  • Update the Readme/doc folder relevant to this change (if needed)

  • (cherry picked from commit f64203d)

Parent PR: #9900

Error message changed for scrub validation and upload sstables in
validator stopped working. Still event handler catched that and uploaded
- but actually should not when scrub validator sends them.

Fix by adjusting to error line (should be more elastic) and adjusted
event handler to not send corrupted sstables in context of sstables
validator.

Added sstable util to corrupt sstable (just for testing this and
possibly may be used in other contexts).

fixes: scylladb#9854
(cherry picked from commit f64203d)
@scylladbbot
Copy link
Author

@soyacz - This PR has conflicts, therefore it was moved to draft
Please resolve them and mark this PR as ready for review

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.

2 participants