Red Hat Bugzilla – Bug 458890
MogileFS looses files frequently
Last modified: 2008-08-13 11:18:30 EDT
Description of problem:
Due to a problem in the tempfile handling, mogilefs occasionally
looses file data after a while.
Dormando from the mogilefs list has checked in a patch to address this issue:
Please roll this patch into the EPEL el5 RPM. It's not currently safe to use the mogilefs in the yum repo. (I imagine this is also true of the FC9 rpms)
Version-Release number of selected component (if applicable):
It is difficult to reproduce, but has happened to our system frequently. Here are three threads that have explored the problem:
Specifically Cent5 with EPEL:
Additional bug reports:
Steps to Reproduce:
To simulate the problem, you can manually insert an entry into tempfile like so:
INSERT INTO tempfile (fid,dmid,dkey,classid,devids,createtime) VALUES ('41','1','238','1','1','1');
with the fid and dkey values matching a file in your mogilefs store.
The files are deleted even if valid.
The files should not be deleted. (As discussed on the mogile lists)
Packages have just been build, they will be pushed with the next EPEL update