[wp-trac] [WordPress Trac] #31792: register_uninstall_hook causes large #s of unnecessary updates to wp_options

WordPress Trac noreply at wordpress.org
Tue Jul 28 15:52:24 UTC 2015


#31792: register_uninstall_hook causes large #s of unnecessary updates to
wp_options
-------------------------------------+-----------------------------
 Reporter:  jeichorn                 |       Owner:  jorbin
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Options, Meta APIs       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by jeichorn):

 Replying to [comment:9 dd32]:
 > > I missed this reply. I've seen this heavy write behavior on multiple
 sites, the driver of writing this patch was seeing the query piling up in
 the processlist. Any thoughts on what would drive update_option check to
 fail, when the value isn't changing?
 >
 > @jeichorn I can guess that perhaps an Object cache isn't playing nice,
 or maybe a value being stored within the option is invalid? Can you post
 an example of one of the `UPDATE`'s if it doesn't contain anything
 sensitive?

 I will see if i can find a problem case again.  It was a # of different
 customer sites, but I don't think i've see any problems recently.

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


More information about the wp-trac mailing list