Skip to content

CNDB-17328: backport CASSANDRA-19703: prepared statements get evicted too early#2300

Merged
driftx merged 2 commits intomainfrom
CNDB-17328
Apr 2, 2026
Merged

CNDB-17328: backport CASSANDRA-19703: prepared statements get evicted too early#2300
driftx merged 2 commits intomainfrom
CNDB-17328

Conversation

@driftx
Copy link
Copy Markdown

@driftx driftx commented Apr 1, 2026

What is the issue

Newly inserted prepared statements get evicted too early from cache that leads to race condition

What does this PR fix and why was it fixed

Backports the fix from CASSANDRA-19703

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

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
Copy Markdown
Member

Looks like another jacoco/sonar issue - re-building this too.

I just happen to be looking at these PRs while also investigating the jacoco/sonar thing, btw.

@driftx
Copy link
Copy Markdown
Author

driftx commented Apr 2, 2026

I just happen to be looking at these PRs while also investigating the jacoco/sonar thing, btw.

Thanks for that!

Do these sonar results seem odd to you? 0% doesn't make sense to me since tests were included.

@djatnieks
Copy link
Copy Markdown
Member

I just happen to be looking at these PRs while also investigating the jacoco/sonar thing, btw.

Thanks for that!

Do these sonar results seem odd to you? 0% doesn't make sense to me since tests were included.

Yes - this PR may help:
https://github.com/riptano/jenkins-pipeline-lib/pull/255#issuecomment-4174414806

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 2, 2026

@cassci-bot
Copy link
Copy Markdown

@driftx driftx merged commit fa0102a into main Apr 2, 2026
2 of 4 checks passed
@driftx driftx deleted the CNDB-17328 branch April 2, 2026 17:41
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