Could be a bug. Would you mind creating a test case using one of our maven archetypes? See "Writing a test case for Infinispan" section in https://docs.jboss.org/author/display/ISPN/Infinispan+Maven+Archetypes
I',m curious. Is this issue resolved? Did the issue ever find its way into JIRA? If so, could you please provide a link.
I'm also experiencing problems with the following combo: Infinispan (5.1.6 Final) plus TreeCache plus invalidation.
The problem starts with creating the root node (which is implictly done by the construcor of TreeCacheImpl). The creation of the root node seems to always propagate invalidation messages throughout the cluster. That means, if there's already one node active and the cache instance of that node already is populated, its entire cache gets invalidate as soon as another node joins the cluster.
The original behavior with JBossCache was different.
Thanks for any hints,