Skip to content

Conversation

@jkni
Copy link

@jkni jkni commented Oct 23, 2025

What is the issue

#2043 was committed to main and needs to be backported to cndb-main-release-202510.

What does this PR fix and why was it fixed

Cherry-picks the merge of #2043. No changes to the contents of the patch were needed.

…iver if CDC is enabled on the node (#2043)

Repairs use the local write path for streams on CDC-enabled tables,
based on table schema. This interacts poorly with the separation of CNDB
services.

This commit fixes the issue by only using the CDC write path for a stream if CDC 
is enabled in the node's configuration (as well as in the schema). This avoids 
attempting to use the local write path if commitlog-based CDC is not enabled.
@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

@jkni jkni requested a review from maxtomassi October 23, 2025 02:50
@jkni jkni self-assigned this Oct 23, 2025
@sonarqubecloud
Copy link

@cassci-bot
Copy link

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


Approved by Butler
See build details here

Copy link

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Patch looks the same as the original version
+1

@eolivelli eolivelli merged commit 29fcfae into cndb-main-release-202510 Oct 23, 2025
491 checks passed
@eolivelli eolivelli deleted the CNDB-15623-202510 branch October 23, 2025 07:04
@pkolaczk pkolaczk mentioned this pull request Oct 29, 2025
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