[
https://issues.apache.org/jira/browse/CASSSIDECAR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSSIDECAR-447:
----------------------------------
Fix Version/s: 0.4.0
Source Control Link:
https://github.com/apache/cassandra-sidecar/commit/a69cd7a3146912e7b1d746ce2a33d01905c03c0a
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> 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
> Fix For: 0.4.0
>
> Time Spent: 1h 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: [email protected]
For additional commands, e-mail: [email protected]