[
https://jira.jboss.org/jira/browse/ISPN-261?page=com.atlassian.jira.plugi...
]
Sanne Grinovero commented on ISPN-261:
--------------------------------------
Even if this behavior is unexpected this is probably only useful for testing, were the
workaround can be used.
I was needing it to test the fact "index is not destroyed when a new node
joins", but is not urgent right now.
Cachemanager instantiated in different threads in same JVM don't
interact
-------------------------------------------------------------------------
Key: ISPN-261
URL:
https://jira.jboss.org/jira/browse/ISPN-261
Project: Infinispan
Issue Type: Bug
Components: Locking and Concurrency
Affects Versions: 4.0.0.CR1
Environment: both Sun JDK 6u16 and IcedTea, on both Fedora 11 64 bit and Ubuntu
9.10 64bit
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Fix For: 4.0.0.CR2
Attachments: DemoCode-ISPN-261.patch
When I create several cachemanagers in clustered mode in the same thread, they will join
and share the cluster view.
If I try to create cachemanagers configured the same way in different threads, they will
not join.
Attaching demo code with a workaround.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira