WARNING: potential data loss bug, and fix

Brad Fitzpatrick brad at danga.com
Thu Mar 2 08:01:57 UTC 2006


If you're running mogilefsd with InnoDB tables (as you should) and are
using a MySQL with InnoDB that clears auto_increment history on tables
when server restarts (where it inits the auto_inc value to
MAX(primary_key) on first use, ...), then this bug can bite you:

Basically after a server restart, fids can be reused, destroying files.

You'll want this fix:

    http://danga.com/dist/MogileFS/server/patches/fid-no-reuse-patch.txt

This is pretty important.  You'll want this patch restarted on your
mogilefsd before you restart your MySQL servers.

- Brad




More information about the mogilefs mailing list