[wp-trac] [WordPress Trac] #11431: object cache's terms bucket potentially contains junk

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 28 12:47:08 UTC 2010


#11431: object cache's terms bucket potentially contains junk
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan                   
     Type:  enhancement        |      Status:  new                    
 Priority:  normal             |   Milestone:  3.0                    
Component:  Cache              |     Version:                         
 Severity:  normal             |    Keywords:  has-patch tested commit
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch tested => has-patch tested commit


Old description:

> We've a few occurrences of things such as:
>
> {{{
> wp_cache_add( $cache_key, $terms, 'terms' );
> }}}
>
> ... in taxonomy.php. These are not flushed when the terms cache gets
> flushed, and end up stored in memcached indefinitely. We should at least
> add a timeout, maybe after a day.
>
> Better yet, we should flush them properly.

New description:

 We've a few occurrences of things such as:

 {{{
 wp_cache_add( $cache_key, $terms, 'terms' );
 }}}

 ... in taxonomy.php. These are not flushed when the terms cache gets
 flushed, and end up stored in memcached indefinitely. We should at least
 add a timeout, maybe after a day.

 Better yet, we should flush them properly.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11431#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list