Skip to content

Conversation

adelapena
Copy link

What is the issue

SASI has never been supported, so it's mostly dead code. This would allow us to get rid of code that we are still partially maintaining, spending resources on CI, build, etc.

This has already be done in DSE 6.9: https://github.com/riptano/bdp/commit/358767f8ae21c91b8241bc26e98cf7f922daff8b

What does this PR fix and why was it fixed

This patch replaces SASI internals by a no-op implementation that ignores writes and rejects reads. It's still allowed to create new SASI indexes so old schemas keeps working, for example when restoring a snapshot with SASI. However, they will be no-op with a clear client warning about SASI not being supported nor functional anymore.

@adelapena adelapena self-assigned this Sep 23, 2025
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

This patch replaces SASI internals by a no-op implementation that ignores writes and rejects reads.

SASI has never been supported, so it's mostly dead code. This would allow us to get rid of code that we
are still partially maintaining, spending resources on CI, build, etc.

It's still allowed to create new SASI indexes so old schemas keeps working, for example when restoring a
snapshot with SASI. However, they will be no-op with a clear client warning about SASI not being supported
nor functional anymore.
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
78.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@cassci-bot
Copy link

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


1 regressions found
See build details here


Found 1 new test failures

Test Explanation Runs Upstream
o.a.c.service.StartupChecksTest.checkTableSettingsWarn (compression) REGRESSION 🔵🔴 0 / 5

No known test failures found

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.

2 participants