Jyothsna Konisa created CASSSIDECAR-459:
-------------------------------------------

             Summary: 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
            Reporter: Jyothsna Konisa


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]

Reply via email to