[
https://issues.apache.org/jira/browse/CAMEL-23255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated CAMEL-23255:
------------------------------------
Fix Version/s: 4.19.0
> Infinispan Remote component should retry schema registration on
> IllegalLifecycleStateException
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-23255
> URL: https://issues.apache.org/jira/browse/CAMEL-23255
> Project: Camel
> Issue Type: Improvement
> Components: camel-infinispan
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 4.19.0
>
>
> The {{InfinispanRemoteManager.doStart()}} method calls
> {{EmbeddingStoreUtil.registerSchema()}} synchronously during route startup,
> which accesses the Infinispan {{___protobuf_metadata}} internal cache. If the
> Infinispan server is still initializing and this cache is not ready, the
> operation fails immediately with:
> {code}
> org.infinispan.commons.IllegalLifecycleStateException: ISPN005066: Cache
> '___protobuf_metadata' is not ready
> {code}
> The component should handle this gracefully, e.g., by retrying schema
> registration when {{IllegalLifecycleStateException}} is thrown, rather than
> failing the route startup immediately.
> This was identified during the fix for CAMEL-23253, where the test was made
> more robust with a readiness check, but the component itself remains brittle
> against slow server initialization.
> See PR #22265 for context.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)