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)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 5 Mar 2020 23:49:57 +0000 (23:49 +0000)
commit25778fdc5effa0654866c51ed8862761dd31e9cf
tree186c3741af75bb2139fed851f9bc97bfa81f0a77
parent6805597ea3dde2744ca6bd526a1d6f1a4f92d308
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
C4/Installer/PerlDependencies.pm
Koha/Cache.pm
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt