[JBoss JIRA] Created: (JGRP-917) Problems after shunning
by Bela Ban (JIRA)
Problems after shunning
-----------------------
Key: JGRP-917
URL: https://jira.jboss.org/jira/browse/JGRP-917
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.8
Attachments: tmp.xml, tmp1.xml
To reproduce:
- draw-2.8 -props ./tmp.xml
- draw-2.8 -props ./tmp1.xml
- Kill first instance (CTRL-C) and restart
- First instance continually tries to send messages to an old node:
123552 [TRACE] FD_ALL: - linux-2842 sent heartbeat to cluster
123732 [WARN] UDP: - no physical address for 1413155d-4e6d-4641-7ea1-bc6091e9d6b1, dropping message
124530 [WARN] UDP: - no physical address for 1413155d-4e6d-4641-7ea1-bc6091e9d6b1, dropping message
124725 [WARN] UDP: - no physical address for 1413155d-4e6d-4641-7ea1-bc6091e9d6b1, dropping message
124933 [WARN] UDP: - no physical address for 1413155d-4e6d-4641-7ea1-bc6091e9d6b1, dropping message
125731 [WARN] UDP: - no physical address for 1413155d-4e6d-4641-7ea1-bc6091e9d6b1, dropping message
--
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
17 years, 3 months
[JBoss JIRA] Created: (JGRP-919) UUID.cache: timed purging of old mappings
by Bela Ban (JIRA)
UUID.cache: timed purging of old mappings
-----------------------------------------
Key: JGRP-919
URL: https://jira.jboss.org/jira/browse/JGRP-919
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Minor
Fix For: 2.8
When a channel is closed, the logical name / UUID mapping is removed by calling UUID.remove(). However, if we have a View V which contains A and B, but B was closed, then V will get printed with A's logical name but B's UUID !
This is not incorrect, but doesn't look nice.
A delayed purging of B's logical name/UUID mapping would allows us to still print the logical name of B instead of its UUID, even though B was closed.
SOLUTION(S):
- Delay every remove(): place the to be removed element into a queue, from which we purge an element E only if E is older than X milliseconds.
- Alternative: remove only at JVM termination, or when cache is more than X elements big
--
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
17 years, 3 months