]
Galder Zamarreño commented on ISPN-1348:
----------------------------------------
The easiest way to solve this might be to turn ClusterIdGenerator into a global component
where we can inject the transport without any issues. That at the same time solves the
initialization timing issue.
Cluster ID generator initialization might not work when default cache
is not clustered
--------------------------------------------------------------------------------------
Key: ISPN-1348
URL:
https://issues.jboss.org/browse/ISPN-1348
Project: Infinispan
Issue Type: Bug
Components: Cache Server
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.1.0.ALPHA1
This is related to the changes introduced as part of ISPN-1233. In Hot Rod servers,
cluster ID generator initialization can fail to assign an initial view rank if the default
cache is not clustered but other caches are. A better solution would be to simply cache
the cache manager on construction, and if a new version for a clustered cache is created
and the rank is not set yet (i.e. in cases such as AS7 where cache manager is started
before the servers themselves), use the cached cache manager's transport to quickly
calculate the view rank.
This won't happen with Memcached because you can only interact with the default
cache.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: