]
Gustavo Fernandes updated ISPN-12523:
-------------------------------------
Git Pull Request:
Obtaining internal caches from HotRod causes extra registration of
SourceMigrators
----------------------------------------------------------------------------------
Key: ISPN-12523
URL:
https://issues.redhat.com/browse/ISPN-12523
Project: Infinispan
Issue Type: Bug
Components: Hot Rod
Affects Versions: 9.4.20.Final, 12.0.0.CR1, 11.0.8.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Priority: Major
Internal caches such as {{___protobuf_metadata}} always register a HotRodSourceMigrator
when obtained via Hot Rod:
{code:java}
remotecacheManager.getCache(ProtobufMetadataManagerConstants.PROTOBUF_METADATA_CACHE_NAME)
{code}
This is because HotRod never adds internal caches to the knownCaches instance in order to
check access to those caches. Regardless, it should not keep registering SourceMigrators
everytime