[wp-trac] Re: [WordPress Trac] #5199: Options object cache can become out of sync with the database.

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 16 17:25:09 GMT 2007


#5199: Options object cache can become out of sync with the database.
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |        Owner:  anonymous
     Type:  defect       |       Status:  new      
 Priority:  high         |    Milestone:  2.4      
Component:  General      |      Version:  2.2.3    
 Severity:  major        |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by markjaquith):

 Caught it with two conflicting values (note the different publishing
 times).  The one in the DB was right, but not the one in the cache.

 {{{
 _get_cron_array() :

 Array
 (
    [1192545034] => Array
        (
            [publish_future_post] => Array
                (
                    [c718cfbf7e9d1a40c454cc48cebbe5a7] => Array
                        (
                            [schedule] =>
                            [args] => Array
                                (
                                    [0] => 11915
                                )

                        )

                )

        )

 )




 DB:

 Array
 (
    [1192543234] => Array
        (
            [publish_future_post] => Array
                (
                    [c718cfbf7e9d1a40c454cc48cebbe5a7] => Array
                        (
                            [schedule] =>
                            [args] => Array
                                (
                                    [0] => 11915
                                )

                        )

                )

        )

 )
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5199#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list