You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2026/04/30 04:52:00 UTC
[jira] [Updated] (CASSSIDECAR-447) Scope all CDC dependencies exclusively to CdcModule
[ https://issues.apache.org/jira/browse/CASSSIDECAR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yifan Cai updated CASSSIDECAR-447:
----------------------------------
Authors: Yifan Cai
Test and Documentation Plan: ci; unit
Status: Patch Available (was: Open)
> Scope all CDC dependencies exclusively to CdcModule
> -----------------------------------------------------
>
> Key: CASSSIDECAR-447
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-447
> Project: Sidecar for Apache Cassandra
> Issue Type: Improvement
> Components: CDC
> Reporter: Yifan Cai
> Assignee: Yifan Cai
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Many CDC classes are annotated with both @Singleton and @Inject is JIT-bindable by Guice regardless of whether its owning module is installed. This meant all CDC singletons could be created even when CDC was disabled, simply by being injected as a transitive dependency.
> Proposing the patch to properly honor the feature flag, cdc_enabled. If the feature flag is disabled, ensuring CDC objects are not instantiated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org