Bug 1122613

Summary: Different Caches and Nodes On the Same Network Fill Up Each Others Log Files
Product: [JBoss] JBoss Data Grid 6 Reporter: John Osborne <josborne>
Component: JGroupsAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED NOTABUG QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.1CC: afield, bban, mmarkus, pslavice
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-28 07:38:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Osborne 2014-07-23 15:36:37 UTC
If you run one cache/cache manager on some arbitrary VM and then run a completely different cache/cachemanager on another VM in the same network, JGroups messages will show up for the other cache that you do not care about, making it difficult to decipher what is going on with your own cache.

Comment 2 Martin Gencur 2014-07-24 09:09:56 UTC
Hello John,
it would be helpful to have example logs. What messages you think were not supposed to be in the logs etc.

Comment 3 John Osborne 2014-08-01 15:05:26 UTC
11:00:15,317 DEBUG [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-1,josborne-jdg131-6617) New view accepted: [josborne-jdg131-6617|4] (3) [josborne-jdg131-6617, josborne-jdg132-56382, josborne-jdg133-16837]
11:00:15,318 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-1,josborne-jdg131-6617) ISPN000094: Received new cluster view: [josborne-jdg131-6617|4] (3) [josborne-jdg131-6617, josborne-jdg132-56382, josborne-jdg133-16837]

Here are a couple samples I took from josborne-jdg131.

Note that josborne-jdg133 has the same jgroups.xml file but is running a completely different cache configuration.

Comment 4 Alan Field 2014-08-28 07:38:05 UTC
Hey John,

JDG is working as expected. Your nodes are clustering with each other, since they share the same JGroups configuration. You are just running different caches on each node. Running asymmetric caches is a supported use case in JDG 6.2.

Thanks,
Alan

Comment 5 John Osborne 2014-08-29 16:08:00 UTC
OK thanks.  From the logs it looked like their might be some sort of unauthorized communication between the two caches.

Comment 6 Alan Field 2014-09-01 07:02:42 UTC
These messages are just showing that you have 3 nodes in your cluster view, so nothing spurious going on!