[
https://issues.apache.org/jira/browse/CASSSIDECAR-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jyothsna Konisa updated CASSSIDECAR-459:
----------------------------------------
Source Control Link:
https://github.com/apache/cassandra-sidecar/commit/d67a5e3b486f621e6e02b765e3dd568c6163e22f
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Fix ON_CDC_CACHE_WARMED_UP not fired when schema publisher fails
> ----------------------------------------------------------------
>
> Key: CASSSIDECAR-459
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-459
> Project: Sidecar for Apache Cassandra
> Issue Type: Task
> Components: CDC
> Reporter: Jyothsna Konisa
> Assignee: Jyothsna Konisa
> Priority: Major
> Fix For: 0.4
>
>
> CdcPublisher.scheduleDecision() requires both isInitialized and
> cdcCacheWarmedUp before starting CDC consumers. A transient Kafka or
> schema-registry failure in CachingSchemaStore.onSchemaChanged() would
> propagate out of the warm-up callback, preventing ON_CDC_CACHE_WARMED_UP from
> ever firing and leaving cdcCacheWarmedUp permanently false — CDC would never
> start. The fix wraps loadPublisher() and publishSchemas() in try/catch in
> both the initialisation and schema-change paths, logging failures as
> non-fatal errors so the warm-up sequence always completes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]