[wp-trac] [WordPress Trac] #30261: Split all existing shared taxonomy terms on WP upgrade

WordPress Trac noreply at wordpress.org
Thu Aug 13 15:04:17 UTC 2015


#30261: Split all existing shared taxonomy terms on WP upgrade
-------------------------------------+---------------------------
 Reporter:  boonebgorges             |       Owner:  boonebgorges
     Type:  enhancement              |      Status:  reopened
 Priority:  high                     |   Milestone:  4.3
Component:  Taxonomy                 |     Version:
 Severity:  blocker                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------

Comment (by boonebgorges):

 peterwilsoncc - Nice call on the cron. A five-minute interval should
 pretty much do away with the possibility of race conditions.

 Chouby - The reason 13.diff wasn't working was because the first batch was
 being run during the db upgrade. Instead of calling
 `_wp_batch_split_terms()` during the db upgrade, we should be scheduling
 an event. I've made the change in [attachment:30261.14.diff].

 pento - The lock mechanism is working well for me. I tried manually
 causing a race condition, but was thwarted.

 I think this is getting close....

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


More information about the wp-trac mailing list