Create + edit through API not properly rolled back during downtime
Open, LowPublic


There might be a transaction rollback issue in the API. There was some small downtime around 19:07, 2 March 2012 (UTC). A user was trying to post a userwarning on a talk page [[:en:User talk:Kerev HaEmet]] using Twinkle. The downtime occurred, and after that the user leaving the message was greeted with:

The requested page or revision cannot be found
The database did not find a page or revision that it was expecting to find.
The relevant page of the wiki was "User talk:Kerev HaEmet" and the requested data (for error checking purposes) was: <didn't capture any more than this, sorry>

Which remained there. The page was later manually deleted, which solved the 'problem'.

Suspect that the API edit created the page, but failed to actually make the revision. This would mean that this transaction is not rolled back properly when a failure occurs somewhere between page create and revision create. Just a hunch of course.

Version: 1.19
Severity: normal


bzimport raised the priority of this task from to Low.
bzimport set Reference to bz34903.
bzimport added a subscriber: Unknown Object (MLST).
TheDJ created this task.Mar 2 2012, 7:49 PM

ravensfire.wp wrote:

Additional note (I was the user trying to leave a message on the talk page) - after getting the initial error page, I tried to edit the talk page several times. Each time I would get an edit conflict, preventing me from saving my changes. The page history wasn't showing activity though, and clicking on the talk page showed the message above.

Anomie set Security to None.
Anomie added a subscriber: Anomie.

The problem here seems unlikely to be in the API; rather, it's probably in the core page editing code itself. If it hasn't already been fixed in the 3 years since.

MGChecker moved this task from Stash to API on the MediaWiki-Page-editing board.