[
https://issues.apache.org/jira/browse/CASSSIDECAR-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jyothsna Konisa updated CASSSIDECAR-459:
----------------------------------------
Authors: Jyothsna Konisa
Test and Documentation Plan: CI is green and Integration and unit tests work
Status: Patch Available (was: Open)
> 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]