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

WordPress Trac noreply at wordpress.org
Thu Aug 13 03:06:24 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 dd32):

 > Precedent: I can't think of anywhere in WP where we do anything like
 this :)

 I think there's one main reason why we don't - Race conditions, if two
 page loads process the term splitting at the same time (say, two authors
 are logged in) then they'll both be processing term spliting, of the same
 terms most likely, and the last-one-to-finish updates the `_split_terms`
 option.. AFAICT that means we'll still potentially lose some of the data
 there.

 Using Cron is interesting, but is also not guaranteed to run only once,
 although the locking is better than it used to be.

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


More information about the wp-trac mailing list