Skip to content

Conversation

@driftx
Copy link

@driftx driftx commented Dec 4, 2025

What is the issue

When queries execute on async stages, ExecutorLocals containing ClientWarn.State are not being propagated causing warnings to be lost.

What does this PR fix and why was it fixed

Propagate ExecutorLocals across two thread transitions: caller thread to NATIVE_TRANSPORT_REQUESTS, and NATIVE_TRANSPORT_REQUESTS to async stage.

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

@cassci-bot
Copy link

✔️ Build ds-cassandra-pr-gate/PR-2151 approved by Butler


Approved by Butler
See build details here

@driftx driftx merged commit cf7506d into main-5.0 Dec 4, 2025
582 of 592 checks passed
@driftx driftx deleted the CNDB-16214 branch December 4, 2025 21:59
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