[Koha-bugs] [Bug 13193] Make Memcached usage fork safe

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 18 04:59:14 CEST 2019


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

--- Comment #33 from David Cook <dcook at prosentient.com.au> ---
Martin et al: Take a look at that draft integration test I wrote? 

Using 10 child processes and semi-randomized highish-volume Memcached lookups,
I'm able to seemingly reliable reproduce the problem every time with
Cache::Memcached::Fast and never reproduce it with
Cache::Memcached::Fast::Safe.

I'm going to look at doing a more Koha-specific version just now... but thought
I'd share what I have as I go. 

At a glance, the Memcached protocol doesn't look that hard either, so a person
could theoretically mock the server within the test. I think the problem is
with the client rather than the server, but mocking the server would remove the
dependency on the Memcached server... but I'll leave that up to Martin to make
a call on that one.

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


More information about the Koha-bugs mailing list