Bug 13193: Make Memcached usage fork safe
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Mon, 16 Sep 2019 10:26:01 +0000 (10:26 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 1 Oct 2019 14:14:31 +0000 (15:14 +0100)
commitf7a5466c52c4821394c5c44e0fc4e9603ef0e6f6
treeb4123b30110a1d0c68ace06d95676ceb2457dfe7
parent291bb7bacfdf68e6bc8e99d5c1e258fbcbf2344b
Bug 13193: Make Memcached usage fork safe

When a high enough number of forks try to access for example system
preferences with Koha::Cache using memcached as backend the results of
different cache requests get mixed up.

The problem is fixed by using Cache::Memcached::Fast::Safe that is a
fork safe version of Cache::Memcached::Fast.

Sponsored-by: The National Library of Finland
Signed-off-by: David Cook <dcook@prosentient.com.au>

Works as described, and solves an insidious difficult to debug
problem in Koha.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Installer/PerlDependencies.pm
Koha/Cache.pm
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt