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

--- Comment #2 from Roan Kattouw <roan.katt...@gmail.com> 2010-12-07 14:07:35 
UTC ---
Created attachment 7891
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=7891
Proposed patch (untested)

The attached patch fixes this by moving the upload stash metadata out of
$_SESSION altogether and into memcached (or APC or DB cache, whatever's
available; it uses CACHE_ANYTHING) keyed by session ID and stash key, so there
should be no interference between processes provided you're not trying to
upload the same file twice at the same time.

Patch is untested, and I'm not sure you like the idea of moving this out of the
session even on normal installs where PHP's session locking prevents these
concurrency issues from happening.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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