Bug 458890 - MogileFS looses files frequently
Summary: MogileFS looses files frequently
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-MogileFS-Server
Version: el5
Hardware: All
OS: Linux
medium
urgent
Target Milestone: ---
Assignee: Ruben Kerkhof
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-12 22:46 UTC by Clint Goudie
Modified: 2008-08-13 15:18 UTC (History)
0 users

Fixed In Version: perl-mogilefs-server-2_17-6_el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-13 15:18:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Clint Goudie 2008-08-12 22:46:13 UTC
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: 

http://groups.google.com/group/mogile/browse_thread/thread/2eee02f6c64bf16f/8f6dfe269c21779b

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):
mogilefsd-2.17-5.el5

How reproducible:
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:
http://groups.google.com/group/mogile/browse_thread/thread/126b535b895fc4f8

Additional bug reports:
http://groups.google.com/group/mogile/browse_thread/thread/c737e84feea148e2/3ebdf130e57f12bb

http://lists.danga.com/pipermail/mogilefs/2008-June/001728.html


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.
  
Actual results:
The files are deleted even if valid.

Expected results:
The files should not be deleted. (As discussed on the mogile lists)

Comment 1 Ruben Kerkhof 2008-08-13 15:18:30 UTC
Thanks,

Packages have just been build, they will be pushed with the next EPEL update


Note You need to log in before you can comment on or make changes to this bug.