[infinispan-issues] [JBoss JIRA] (ISPN-10718) Ensure protobuf metadata cache is predictably started when the cache manager has finished initializing
Nistor Adrian (Jira)
issues at jboss.org
Thu Oct 3 09:23:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nistor Adrian updated ISPN-10718:
---------------------------------
Summary: Ensure protobuf metadata cache is predictably started when the cache manager has finished initializing (was: Move creation of protobuf metadata cache config back into ProtobufMetadataManagerImpl)
> Ensure protobuf metadata cache is predictably started when the cache manager has finished initializing
> ------------------------------------------------------------------------------------------------------
>
> Key: ISPN-10718
> URL: https://issues.jboss.org/browse/ISPN-10718
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Querying
> Affects Versions: 10.0.0.CR2
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> Casual code browsing led me to ProtobufMetadataCacheStartedTest where I see we actually assert that protobuf metadata cache is not started on cache manager start, it is actually started lazily, when first non-internal cache starts. And the code is written as if this is a (happy) accident. That's very dangerous. We should start it predictably, when the cache manager has finished startup.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list