[wp-trac] [WordPress Trac] #26676: When upgrading code, object (or DB?) cache holds on to old versions

WordPress Trac noreply at wordpress.org
Wed Dec 18 23:51:37 UTC 2013


#26676: When upgrading code, object (or DB?) cache holds on to old versions
--------------------------+------------------------------
 Reporter:  Ipstenu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Cache         |     Version:  3.5.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dd32):

 This may be related to #26173. It may even be a total duplicate in the
 end.

 That ticket lead to a big discovery (to me) though, some object caches
 ignore the flush command and since the DB upgrade step sets
 `WP_INSTALLING` which results in NOT updating the option values in the
 object cache, as it's relying upon the flush command.
 The end result was that the DB version option in memory would always be
 out of date - This was fixed by specifically deleting the options cache
 rather than relying upon the flush.

 The symptoms described and the threads linked, could vary between
 incomplete upgrades, and the above issue.

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


More information about the wp-trac mailing list