OJS 3 Memcache bug?


#1

Hi,

I have two separate OJS 3.1.1.4 installations for two journals on the shared hosting account.
I enabled Memcache for both of them and then the contents from the two journals started to mix! Some of the articles from one journal were shown on other journal’s website.
Also, homepage on one of the journals was showing archival, rather than the actual selected current issue.

I disabled Memcache and everything went back to normal.

I have the Cloudflare CDN enabled on my hosting. In addition, my hosting company (Siteground) has some own caching.

Is this a bug with Memcache? Are you interested in evaluating further this issue?
Best regards,
Faruk


#2

Hi @BJBMS

Hmm, I think that memcache support wasn’t really tested. I found related discussion and a pull request: https://github.com/pkp/pkp-lib/issues/3299

Can you describe how I can reproduce it? Are you using PHP 7+ and php-memcached 3+? https://github.com/php-memcached-dev/php-memcached


#3

Hi all,

OJS’s memcache support was added a very long time ago and rarely tested/used. I’d suggest disabling it until it can get some dev attention.

Thanks,
Alec Smecher
Public Knowledge Project Team