[
https://issues.jboss.org/browse/ISPN-1348?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1348:
----------------------------------------
Actually, this is not a bug at all, or at least in the way the current code is written. As
per RpcManagerFactory, an RPCManager will be created per cache if the transport is not
null, regardless of the cache's mode. So, even if the cache mode is LOCAL, if the
cache manager has a transport set, getRpcManager won't return null and transport will
be retrievable.
So, this is not a bug at all. It's true though that RpcManagerFactory should not
create an RPCManager if the cache's mode is LOCAL, but that's a different issue
which I'll create in a minute. And before changing that, I need ISPN-1366 fixed in the
first place.
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
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:
http://www.atlassian.com/software/jira