On 3/13/07, Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote:
On 2007-03-13T14:26:56, Aníbal Monsalve Salazar <[EMAIL PROTECTED]> wrote:

> Heartbeat keeps a backup copy of /var/lib/heartbeat/crm/cib.xml but
> if the primary copy is filled with zeros it doesn't use the backup!

Good point.

> I also believe that given the XFS issue one backup copy is not
> enough and that we should have multiple backups so that if there is
> more than one change made to cib.xml in the 30 seconds before the
> reboot there will still be a good copy after the reboot. As the
> files in question are small there is no reason why we couldn't have
> 20 backup copies.

That shouldn't happen. We use fsync() on the file, so the backup copy is
always intact (it's just that the in-flight transaction might get hit).
XFS surely doesn't lie about fsync() ;-)

Anyway, your bug reports are great. Could you please file them in our
bugzilla?

actually i'd prefer that he keep reading to the end of the email
threads and only log bugs for the ones that aren't already fixed
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to