[Koha-bugs] [Bug 18232] Koha::Cache::flush - Simply flush all caches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 19 03:49:38 CEST 2019


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jon Knight from comment #5)
> Applied to master on my test kohadevbox cleanly and:
> 
> perl -e 'use Koha::Caches; Koha::Caches::flush();'
> 
> seems to run without any errors.
> 
> As with Katrin, I could do with a test plan to check its working.  I've
> tried poking around in memcached (using `memcached -vv` and `telnet
> localhost 11211` and then issuing stats commands), but I can't see much
> difference on a dev box to be honest. I'm guessing it needs a load of
> traffic sent to it to make the memcached caches fill up so that a flush is
> noticeable?

You could try the following for a more detailed view of what's in the cache if
you have the right tools installed:

memdump --server localhost:11211
(might be memcdump on Debian)

memcat --server localhost:11211 KOHADEV:syspref:syspref_opacnavright
(might be memccat)

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


More information about the Koha-bugs mailing list