From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lon Hohberger Date: Thu, 14 Feb 2008 16:56:58 -0500 Subject: [Cluster-devel] rind-0.8.1 patch In-Reply-To: <200802041841.02494.grimme@atix.de> References: <1196441345.2454.25.camel@localhost.localdomain> <200802041841.02494.grimme@atix.de> Message-ID: <1203026218.2408.30.camel@ayanami.boston.devel.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, 2008-02-04 at 18:41 +0100, Marc Grimme wrote: > 2. I found that the sl-function nodes_online() returns also online if the node > in question is in the cluster but has no rgmanager running. For me it worked > just to change the line in rgmanager/src/daemons/slang_event.c:606 : > - if (membership->cml_members[i].cn_member && > + if (membership->cml_members[i].cn_member > 0 && This is really strange -- I just retested this and it worked for me (unmodified). I wonder if there's something I'm missing. The different behaviors would normally indicate an uninitialized variable but I don't see where it could be (get_member_list() memsets the membership list). -- Lon