]
Tristan Tarrant updated ISPN-12523:
-----------------------------------
Fix Version/s: 9.4.22.Final
12.0.0.Final
11.0.9.Final
Resolution: Done
Status: Resolved (was: Pull Request Sent)
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
Fix For: 9.4.22.Final, 12.0.0.Final, 11.0.9.Final
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