[Koha-bugs] [Bug 19523] New: 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:49:24 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19523
Bug ID: 19523
Summary: Koha::Cache changes not passed to all plack workers
with in-memory caching.
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: olli-antti.kivilahti at jns.fi
QA Contact: testopia at bugs.koha-community.org
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.
- Observer 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