[wp-trac] [WordPress Trac] #19263: Possible Akismet concurrency issue in comment-check

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 17 23:57:50 UTC 2011


#19263: Possible Akismet concurrency issue in comment-check
--------------------------+------------------------------
 Reporter:  archon810     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by archon810):

 * keywords:  reporter-feedback =>


Comment:

 Since the UI only has history per comment, I went to the database and
 looked at the commentmeta table instead. I have a feeling entries there
 are deduped by comment_id, for akismet at least, because I don't see any
 duplicate entries at all. So, even if 10 threads did things at the same
 time, I'm pretty sure they would have all updated the same row and left
 only one entry in.

 Since you mentioned cron, there's also a high chance it was cron screwing
 up and launching multiple updates at the same time, but on high-traffic
 sites it's hard to say, and this concurrency issues comes up in a lot more
 places you would think.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19263#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list