[Koha-bugs] [Bug 19523] Koha:: Cache changes not passed to all plack workers with in-memory caching.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 24 15:51:06 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19523

--- Comment #1 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 68469
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68469&action=edit
Bug 19523 - Koha::Cache changes not passed to all plack workers with in-memory
caching.

REPRODUCE:

- $KOHA_CONF shouldn't have any <memcached_* -definitions. This triggers
in-memory cache usage.
- plack workers is atleast 2
- Change some easily visible syspref, such as 'languages'. The syspref change
applies only to the worker thread where the change was made. Other worker
threads keep using the old syspref.
- Observe that 50% of time the old syspref is used. Other times the new syspref
is used.
- Reduce plack workers to 1. Observe no issues with syspref change taking
effect.

Using memcached solves this problem.

It is still useful to fix it for those who don't want to use memcached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list