Re: [Openais] Corosync API: *_context_{get,set}

2009-07-01 Thread Wojtek Meler
Steven Dake pisze: On Tue, 2009-06-30 at 11:02 +0200, Wojtek Meler wrote: Hi! I've noticed family of context getters and setters in confdb, cpg, quorum and votequorum headers, which are undocumented in man pages. Is it common public interface? These functions are missing in evs. It would

Re: [Openais] Corosync API: *_context_{get,set}

2009-07-01 Thread Steven Dake
Patch looks good. I'll commit it. Regards -steve On Wed, 2009-07-01 at 08:06 +0200, Wojtek Meler wrote: Steven Dake pisze: On Tue, 2009-06-30 at 11:02 +0200, Wojtek Meler wrote: Hi! I've noticed family of context getters and setters in confdb, cpg, quorum and votequorum

[Openais] struct evs_address...

2009-07-01 Thread Wojtek Meler
is only referenced in man pages. Attached patch removes it. Regards, Wojtek Index: include/corosync/evs.h === --- include/corosync/evs.h (wersja 2331) +++ include/corosync/evs.h (kopia robocza) @@ -62,12 +62,6 @@ #define

Re: [Openais] API inconsistency - evs callback functions

2009-07-01 Thread Wojtek Meler
Wojtek Meler pisze: I've noticed a little API inconsistency. Every corosync service defines callbacks which receive handle obtained from initialize function as first argument. EVS is different - callbacks don't get handles. Without them one is forced to use global / thread variables to

[Openais] [PATCH]: openais/trunk: Code cleanup for lock service

2009-07-01 Thread Ryan O'Hara
Just code cleanup. Remove some unused code, add a comment or two, etc. Ryan Index: services/lck.c === --- services/lck.c (revision 2017) +++ services/lck.c (working copy) @@ -68,9 +68,6 @@ #include ../include/saLck.h

Re: [Openais] [corosync] [patch] - Fix problems with long token timeout and cpg

2009-07-01 Thread Steven Dake
Does this cross communicate with whitetank properly? Regards -steve On Wed, 2009-07-01 at 18:21 +0200, Jan Friesse wrote: Included patch should fix https://bugzilla.redhat.com/show_bug.cgi?id=506255 . David, I hope it will fix problem for you. It's based on simple idea of adding node

Re: [Openais] [PATCH]: openais/trunk: Code cleanup for lock service

2009-07-01 Thread Steven Dake
good for merge regards -steve On Wed, 2009-07-01 at 11:18 -0500, Ryan O'Hara wrote: Just code cleanup. Remove some unused code, add a comment or two, etc. Ryan ___ Openais mailing list Openais@lists.linux-foundation.org

Re: [Openais] [corosync] [patch] - Fix problems with long token timeout and cpg

2009-07-01 Thread David Teigland
On Wed, Jul 01, 2009 at 06:21:14PM +0200, Jan Friesse wrote: Included patch should fix https://bugzilla.redhat.com/show_bug.cgi?id=506255 . David, I hope it will fix problem for you. It's based on simple idea of adding node startup timestamp at the end of cpg_join (and joinlist) calls. If

Re: [Openais] API inconsistency - evs callback functions

2009-07-01 Thread Steven Dake
On Wed, 2009-07-01 at 14:52 +0200, Wojtek Meler wrote: Wojtek Meler pisze: I've noticed a little API inconsistency. Every corosync service defines callbacks which receive handle obtained from initialize function as first argument. EVS is different - callbacks don't get handles. Without

Re: [Openais] [corosync] [patch] - Fix problems with long token timeout and cpg

2009-07-01 Thread David Teigland
On Wed, Jul 01, 2009 at 01:46:03PM -0500, David Teigland wrote: other nodes should immediately recognize it has previously failed and process a complete failure for it. i.e. the full equivalent to what apps (using any api's) would see if the node had failed via normal token timeout. Dave

[Openais] Make compatibility mode none work properly

2009-07-01 Thread Steven Dake
Index: exec/syncv2.c === --- exec/syncv2.c (revision 2332) +++ exec/syncv2.c (working copy) @@ -488,6 +488,10 @@ } my_processor_list_entries = member_list_entries; + memcpy (my_member_list, member_list, + member_list_entries *

[Openais] corosync trunk align syncv2 on 8 byte boundaries

2009-07-01 Thread Steven Dake
Align syncv2 wire messages on 8 byte boundaries. ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Re: [Openais] API inconsistency - evs callback functions

2009-07-01 Thread Steven Dake
patch attached to fix regards -steve On Wed, 2009-07-01 at 14:01 +0200, Wojtek Meler wrote: I've noticed a little API inconsistency. Every corosync service defines callbacks which receive handle obtained from initialize function as first argument. EVS is different - callbacks don't get

[Openais] announcing release 1.0.0.rc1 release candidates of corosync and openais

2009-07-01 Thread Steven Dake
I am pleased to announce we are in the home stretch of development with both Corosync (flatiron) and OpenAIS (wilson) 1.0.0 releases. When downloading, you may notice the file is called package-0.100.tar.gz. This is to enable easy upgrades for distro packaging, but is indeed the release

Re: [Openais] announcing release 1.0.0.rc1 release candidates of corosync and openais

2009-07-01 Thread Darren Thompson
Steve Just so it's clear to us wood ducks... My understanding is that OpenAis is built on top of (ie is dependant on) Corosync. So to test the RC I need to download and install corosync first and then download and install Openais. Please feel free to correct any misunderstandings on my part.

Re: [Openais] announcing release 1.0.0.rc1 release candidates of corosync and openais

2009-07-01 Thread Steven Dake
On Thu, 2009-07-02 at 07:40 +0930, Darren Thompson wrote: Steve Just so it's clear to us wood ducks... My understanding is that OpenAis is built on top of (ie is dependant on) Corosync. So to test the RC I need to download and install corosync first and then download and install