Skip to content

Conversation

@djatnieks
Copy link

If the index fails to build, mark the index non-queryable, but don't fail the C* flush. This way the node can continue to run the other queries.

If the index fails to build, mark the index non-queryable,
but don't fail the C* flush. This way the node can continue
to run the other queries.
@github-actions
Copy link

Checklist before you submit for review

  • This PR adheres to the Definition of Done
  • 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

@djatnieks
Copy link
Author

@djatnieks djatnieks requested a review from driftx September 3, 2025 13:44
Copy link

@driftx driftx left a comment

Choose a reason for hiding this comment

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

I guess ticket the tests?

@djatnieks
Copy link
Author

I guess ticket the tests?

I'll see what @pkolaczk can suggest - waiting for Jenkins to be available again - but, yeah, if needed we can do that.

@djatnieks
Copy link
Author

I investigated the failing tests and found they are Apache C* tests that were not expecting the change in behavior made by this ticket. I have adjusted the tests to now expect a IndexNotAvailableException following the errors that are injected during the test.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2025

@cassci-bot
Copy link

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


2 regressions found
See build details here


Found 2 new test failures

Test Explanation Runs Upstream
o.a.c.distributed.test.sai.ImportIndexedSSTablesTest.testIndexBuildingFailureDuringImport REGRESSION 🔵🔴 0 / 2
o.a.c.distributed.test.sai.IndexStreamingFailureTest.testAvailabilityAfterFailedNonEntireFileStreaming REGRESSION 🔵🔴 0 / 2

Found 13 known test failures

@djatnieks djatnieks merged commit 9678815 into main-5.0 Sep 4, 2025
577 of 591 checks passed
@djatnieks djatnieks deleted the CNDB-15236 branch September 4, 2025 23:37
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.

4 participants