Hi,
When I look into the HealthMonitor simply, there is no cache.remove() and clear().
I just would like to know whether this is on purpose or not.
If not, and if I will find a better idea before Monday, I will reply again.
Thanks.
--
Bongjae Chang
----- Original Message -----
From: Shreedhar Ganapathy
To: dev_at_shoal.dev.java.net
Sent: Friday, July 03, 2009 10:26 PM
Subject: Re: [Shoal-Dev] About HealthMonitor's cache
I noticed that as well. We need to check to see why the health cache is not cleared once the failure of a member is verified.
It's a holiday here in US. We'll need to look into it on Monday once Joe's back.
Let us know if you find something in the meantime.
On 03-Jul-2009, at 5:54 AM, Bongjae Chang <carryel_at_korea.com> wrote:
Hi,
HealthMonitor stores the cache with members' states.
But if a member's state was stored once, the value would be never removed.
Assume that A was the group' member and now A is still failed.
Then, we can see the following FINE level's log continuously.
--
[#|2009-07-03T21:42:45.930+0900|FINE|Shoal|ShoalLogger|_ThreadID=30;_ThreadName=InDoubtPeerDetector
Thread for Group:test;ClassName=HealthMonitor$InDoubtPeerDetector;MethodName=processCacheUpdate;|pro
cessCacheUpdate : A 's state is dead|#]
[#|2009-07-03T21:42:48.930+0900|FINE|Shoal|ShoalLogger|_ThreadID=30;_ThreadName=InDoubtPeerDetector
Thread for Group:test;ClassName=HealthMonitor$InDoubtPeerDetector;MethodName=processCacheUpdate;|pro
cessCacheUpdate : A 's state is dead|#]
[#|2009-07-03T21:42:51.930+0900|FINE|Shoal|ShoalLogger|_ThreadID=30;_ThreadName=InDoubtPeerDetector
Thread for Group:test;ClassName=HealthMonitor$InDoubtPeerDetector;MethodName=processCacheUpdate;|pro
cessCacheUpdate : A 's state is dead|#]
[#|2009-07-03T21:42:54.930+0900|FINE|Shoal|ShoalLogger|_ThreadID=30;_ThreadName=InDoubtPeerDetector
Thread for Group:test;ClassName=HealthMonitor$InDoubtPeerDetector;MethodName=processCacheUpdate;|pro
cessCacheUpdate : A 's state is dead|#]
[#|2009-07-03T21:42:57.930+0900|FINE|Shoal|ShoalLogger|_ThreadID=30;_ThreadName=InDoubtPeerDetector
Thread for Group:test;ClassName=HealthMonitor$InDoubtPeerDetector;MethodName=processCacheUpdate;|pro
cessCacheUpdate : A 's state is dead|#]
[#|2009-07-03T21:43:00.945+0900|FINE|Shoal|ShoalLogger|_ThreadID=30;_ThreadName=InDoubtPeerDetector
Thread for Group:test;ClassName=HealthMonitor$InDoubtPeerDetector;MethodName=processCacheUpdate;|pro
cessCacheUpdate : A 's state is dead|#]
--
Is this expected for monitoring old member's state or members' history?
Please advice me.
Thanks.
--
Bongjae Chang