[wp-trac] [WordPress Trac] #25623: The design of update_option etc makes race conditions likely to happen

WordPress Trac noreply at wordpress.org
Tue Jan 13 14:27:46 UTC 2015


#25623: The design of update_option etc makes race conditions likely to happen
-------------------------------------------+-----------------------------
 Reporter:  joehoyle                       |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Future Release
Component:  Cache API                      |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback needs-patch  |     Focuses:
-------------------------------------------+-----------------------------

Comment (by joehoyle):

 Quick update on this - I took a bash at writing this into the Memcached
 plugin we use, as a proof of concept. This is at
 https://github.com/humanmade/memcache-object-cache/pull/1. The tradeoff is
 loading WordPress will add about 30 memcached `get()` calls - depending
 entirely on your setup of course. In our environment, that's a tradeoff
 I'm willing to make to avoid data corruption / deletion which is something
 that happens far too often with the current design of `alloptions`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25623#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list