Kaperstone / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

Delete worker fails #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Running a 2.44 tracker on Ubuntu 10.04 LTS Server gives this output:

[Wed Dec 22 11:00:29 2010] crash log: Database error from 
MogileFS::Store//usr/local/share/perl/5.10.1/MogileFS/Store.pm/1741: ERROR:  
duplicate key value violates unique constraint "file_on_pkey" at 
/usr/local/share/perl/5.10.1/MogileFS/Worker/Delete.pm line 136
[Wed Dec 22 11:00:30 2010] Child 16658 (delete) died: 256 (UNEXPECTED)
[Wed Dec 22 11:00:30 2010] Job delete has only 0, wants 1, making 1.

Original issue reported on code.google.com by velosi...@gmail.com on 22 Dec 2010 at 10:07

GoogleCodeExporter commented 8 years ago
Forgot to add; We're running Postgres

Original comment by velosi...@gmail.com on 22 Dec 2010 at 10:09

GoogleCodeExporter commented 8 years ago
Can you test the master branch from github.com/mogilefs/ ?

Robin added proper enqueue_fids_to_delete2 routines for Postgres, and 
previously it probably wouldn't work right.

Original comment by dorma...@rydia.net on 4 Jan 2011 at 1:04

GoogleCodeExporter commented 8 years ago
This seems to have fixed the issue, thanks! :)

Original comment by velosi...@gmail.com on 4 Jan 2011 at 12:00

GoogleCodeExporter commented 8 years ago
fixed for next release

Original comment by dorma...@rydia.net on 5 Jan 2011 at 3:53