[wp-trac] [WordPress Trac] #33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3

WordPress Trac noreply at wordpress.org
Mon Aug 24 14:01:48 UTC 2015


#33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3
--------------------------+-----------------------
 Reporter:  mechter       |       Owner:  dd32
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.3.1
Component:  Taxonomy      |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  fixed-major   |     Focuses:
--------------------------+-----------------------
Changes (by mikenolan):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The cleanup code on this causes us serious issues - we have binary logging
 enabled for replicating our database and in attempting to clean up the old
 cron jobs it generates many, many GB of binary logs in a couple of
 minutes. Think this is because it's calling wp_unschedule_event thousands
 of times in the foreach loops, each of which is writing up to a MB back to
 the binary log.

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


More information about the wp-trac mailing list