On Wed, Apr 16, 2008 at 12:50:29AM -0500, Carlo Marcelo Arenas Belon wrote:
> On Tue, Apr 15, 2008 at 02:50:30PM -0600, Brad Nicholes wrote:
> > >>> On 4/15/2008 at 12:27 AM, in message <[EMAIL PROTECTED]>, Carlo
> > Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote:
> > > 
> > > backported and tested when applied to ganglia 3.0.7 as well, but I am 
> > > afraid
> > > not the complete fix that Martin was probably expecting for, as the 
> > > heartbeat
> > > age is not calculated correctly either way.
> 
> I might had uncover another bug when testing it as I was using an adhoc
> cluster with only 1 node to test it.

If this fix is buggy and/or incomplete, then I don't think it should be
applied to 3.0.x.  I just saw this contributed fix with no additional
comments on the bug, so I thought it might be a candidate for the stable
tree.

thanks
mh


> 
> in this scenario the cluster time also stop getting updating resulting in a
> "frozen" age.
> 
> > So what is the logic that is being used to calculate this time for the down 
> > node that show up on the cluster page?
> 
> from show_node.php, lines 68 to 71
> 
> # Compute time of last heartbeat from node's dendrite.
> $clustertime=$cluster['LOCALTIME'];
> $heartbeat=$hostattrs['REPORTED'];
> $age = $clustertime - $heartbeat;
> 
> > The last heartbeat time seems to be correct here.
> 
> right, if there are more nodes in the cluster, it will be correct.
> 
> Carlo

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to