On Thu, Apr 09, 2009 at 09:00:08PM +0200, Dietmar Maurer wrote:
> > If new, normal read/write messages to the replicated state continue while
> > the new node is syncing the pre-existing state, the new node needs to save
> > those operations to apply after it's synced.
> 
> Ah, that probably works. But can lead to very high memory usage if traffic
> is high.

If that's a problem you could block normal activity during the sync period.

> Is somebody really using that? If so, is there some code available
> (for safe/replay)?

There is no general purpose code.  dlm_controld is an example of a program
doing something like this, http://git.fedorahosted.org/git/dlm.git

It uses cpg to replicate state of posix locks, uses checkpoints to sync
existing lock state to new nodes, and saves messages on a new node until it
has completed syncing (i.e. reading pre-existing state from the checkpoint.)

Dave
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to