https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2016-11-16T13:05:12ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #6755: Cannot Deactivate Plugin https://redmine.gc.cuny.edu/issues/6755?journal_id=278092016-11-16T13:05:12ZBoone Gorgesboone@gorg.es
<ul><li><strong>Category name</strong> set to <i>WordPress (misc)</i></li><li><strong>Target version</strong> set to <i>Future release</i></li></ul><p>Hi Laura - There is an occasional bug on the Commons that causes plugin deactivation to result in a cache lag. I've just spent a few minutes trying to track it down, but I didn't have any luck. I'm going to leave this ticket open for future analysis. In the meantime, I've manually cleared your cache, so you should be OK.</p>
<p>Dev team - I have a hunch that there's a race condition between the cache calls in update_option() and some other piece of code on our site that fetches the active_plugins option. It could have to do with latency while contacting Memcached, perhaps exacerbated by the size of the 'alloptions' and 'active_plugins' keys. We should try to duplicate on cdev. Then, on a lark, we might try switching autoload to 'no' for 'active_plugins' - keeping it out of the 'alloptions' kerfuffle might be enough to solve the problem.</p> CUNY Academic Commons - Bug #6755: Cannot Deactivate Plugin https://redmine.gc.cuny.edu/issues/6755?journal_id=278392016-11-16T18:12:41ZLaura Kanelaura.w.kane@gmail.com
<ul></ul><p>Thank you, Boone!</p>
<p>Boone Gorges wrote:</p>
<blockquote>
<p>Hi Laura - There is an occasional bug on the Commons that causes plugin deactivation to result in a cache lag. I've just spent a few minutes trying to track it down, but I didn't have any luck. I'm going to leave this ticket open for future analysis. In the meantime, I've manually cleared your cache, so you should be OK.</p>
<p>Dev team - I have a hunch that there's a race condition between the cache calls in update_option() and some other piece of code on our site that fetches the active_plugins option. It could have to do with latency while contacting Memcached, perhaps exacerbated by the size of the 'alloptions' and 'active_plugins' keys. We should try to duplicate on cdev. Then, on a lark, we might try switching autoload to 'no' for 'active_plugins' - keeping it out of the 'alloptions' kerfuffle might be enough to solve the problem.</p>
</blockquote>