Skip to content

CNDB-14586: Fix StorageHandlerTest#testOnOpeningWrittenSSTableFailure on bigtable #1833

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

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

jkni
Copy link

@jkni jkni commented Jun 25, 2025

What is the issue

This test injects a failure on opening written sstables using byteman. The injection point is only called for trie-index sstables, so the test fails on bigtable, as the expected error isn't thrown.

What does this PR fix and why was it fixed

This PR retargets the failure injection to a shared method in the hierarchy of trie-index and bigtable sstables. This ensures we see the expected failure for both sstable families.

… on bigtable by retargeting byteman rule at shared trie/bigtable method
Copy link

Checklist before you submit for review

  • Make sure there is a PR in the CNDB project updating the Converged Cassandra version
  • Use NoSpamLogger for log lines that may appear frequently in the logs
  • Verify test results on Butler
  • Test coverage for new/modified code is > 80%
  • Proper code formatting
  • Proper title for each commit staring with the project-issue number, like CNDB-1234
  • Each commit has a meaningful description
  • Each commit is not very long and contains related changes
  • Renames, moves and reformatting are in distinct commits
  • All new files should contain the DataStax copyright header instead of the Apache License one

@jkni
Copy link
Author

jkni commented Jun 25, 2025

Note: in fastci, we don't run bigtable tests. I've run this locally for bigtable, compression, and regular unit test targets.

Copy link

@cassci-bot
Copy link

❌ Build ds-cassandra-pr-gate/PR-1833 rejected by Butler


1 new test failure(s) in 1 builds
See build details here


Found 1 new test failures

Test Explanation Branch history Upstream history
o.a.c.u.b.BinLogTest.testTruncationReleasesLogS... regression 🔴 🔵🔵🔵🔵🔵🔵🔵

Found 1 known test failures

@jkni jkni added the core-team label Jun 25, 2025
@jkni jkni merged commit dfc5595 into main Jun 26, 2025
488 of 494 checks passed
@jkni jkni deleted the CNDB-14586 branch June 26, 2025 14:36
driftx pushed a commit that referenced this pull request Jul 21, 2025
… on bigtable (#1833)

### What is the issue
This test injects a failure on opening written sstables using byteman.
The injection point is only called for trie-index sstables, so the test
fails on bigtable, as the expected error isn't thrown.

### What does this PR fix and why was it fixed
This PR retargets the failure injection to a shared method in the
hierarchy of trie-index and bigtable sstables. This ensures we see the
expected failure for both sstable families.
driftx pushed a commit that referenced this pull request Jul 21, 2025
… on bigtable (#1833)

### What is the issue
This test injects a failure on opening written sstables using byteman.
The injection point is only called for trie-index sstables, so the test
fails on bigtable, as the expected error isn't thrown.

### What does this PR fix and why was it fixed
This PR retargets the failure injection to a shared method in the
hierarchy of trie-index and bigtable sstables. This ensures we see the
expected failure for both sstable families.
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.

3 participants