[Ocfs2-devel] ocfs2_controld.cman

David Teigland teigland at redhat.com
Thu Apr 9 09:22:28 PDT 2009


On Wed, Apr 08, 2009 at 03:22:37PM -0700, Joel Becker wrote:
> > This isn't a correct assumption.  It's possible that two or more nodes
> > joining at once will become initial members together.  (I realize that
> > it's a very convenient assumption to make after using it in previous
> > pre-cpg programs, and it may take a fair amount of work to do without.)
> 
> Well, this is going to be fun.  I have to figure out which daemon is
> the "first", and now it's just racy.  I could swear that someone told
> me cpg would guarantee i see the joins in order, not at the same time.

It may just work to have both race to create the checkpoint, the loser should
get an error back from create (I haven't tried it, but I'd expect it to work
that way.)

Dave




More information about the Ocfs2-devel mailing list