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
