https://bugzilla.wikimedia.org/show_bug.cgi?id=48636

       Web browser: ---
            Bug ID: 48636
           Summary: Database error at undeletion (race condition?)
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: maar...@mdammers.nl
                CC: bawolff...@gmail.com, bryan.tongm...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Jcb asked on irc to undelete some files. Me and odder both responded, I was
faster at the first three, but the last one
(https://commons.wikimedia.org/w/index.php?title=Special:Log&page=File%3AMaison+Morisset%2C+Sainte-Famille%2C+%C3%AEle+d%27Orl%C3%A9ans%2C+Qu%C3%A9bec+07.jpg)
Odder was faster.

I got this nice error. No layout or anything so it seems to come straight from
php:
""""

A database error has occurred. Did you forget to run maintenance/update.php
after upgrading? See:
https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: INSERT INTO `image`
(img_name,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,img_major_mime,img_minor_mime,img_description,img_user,img_user_text,img_timestamp,img_sha1)
VALUES
('Maison_Morisset,_Sainte-Famille,_île_d\'Orléans,_Québec_07.jpg','183210','1092','768','a:1:{s:22:\"MEDIAWIKI_EXIF_VERSION\";i:2;}','8','BITMAP','image','jpeg','User
created page with UploadWizard','57323','Benoit
Rochon','20130103190436','429oa40hdi65he0dn1192er17m05fia')
Function: LocalFileRestoreBatch::execute
Error: 1213 Deadlock found when trying to get lock; try restarting transaction
(10.64.32.29)
"""

Looks like odder and me triggered a race condition here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to