FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 11-20-2007, 08:02 AM
 
Default [Cluster-devel] cluster/cman/daemon commands.c

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield@sourceware.org 2007-11-20 09:02:10

Modified files:
cman/daemon : commands.c

Log message:
Clear out the ports opened list when a node goes down.
Thanks, Lon.
bz#327721

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.74&r2=1.75

--- cluster/cman/daemon/commands.c 2007/11/05 15:15:53 1.74
+++ cluster/cman/daemon/commands.c 2007/11/20 09:02:10 1.75
@@ -2021,6 +2021,7 @@
switch (node->state) {
case NODESTATE_MEMBER:
node->state = NODESTATE_DEAD;
+ memset(&node->port_bits, 0, sizeof(node->port_bits));
cluster_members--;
recalculate_quorum(0, 0);
break;
 
Old 11-20-2007, 08:21 AM
 
Default [Cluster-devel] cluster/cman/daemon commands.c

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: pcaulfield@sourceware.org 2007-11-20 09:21:51

Modified files:
cman/daemon : commands.c

Log message:
Clear out the ports list of a remote node when it goes down. Otherwise
we will lose portopened messages when it comes back up.
Thanks for lon for testing & patch.
bz#327721

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&only_with_tag=RHEL 5&r1=1.55.2.13&r2=1.55.2.14

--- cluster/cman/daemon/commands.c 2007/09/27 09:05:45 1.55.2.13
+++ cluster/cman/daemon/commands.c 2007/11/20 09:21:51 1.55.2.14
@@ -2010,6 +2010,7 @@
switch (node->state) {
case NODESTATE_MEMBER:
node->state = NODESTATE_DEAD;
+ memset(&node->port_bits, 0, sizeof(node->port_bits));
cluster_members--;
recalculate_quorum(0, 0);
break;
 

Thread Tools




All times are GMT. The time now is 07:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org