[Koha-bugs] [Bug 20884] New: Stale data remaining in cache after koha-remove

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 5 22:09:48 CEST 2018


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

            Bug ID: 20884
           Summary: Stale data remaining in cache after koha-remove
 Change sponsored?: ---
           Product: Koha
           Version: 18.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Packaging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jcharaoui at cmaisonneuve.qc.ca
        QA Contact: testopia at bugs.koha-community.org
                CC: mirko at abunchofthings.net

Created attachment 75836
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75836&action=edit
0001-Restart-memcached-after-koha-remove-if-needed.patch

After running koha-remove, stale data remains in within the memcached server.

Say if an instance is deleted then recreated immediately, changed data such as
database credentials isn't loaded into the cache, resulting in strange,
difficult to troubleshoot problems.

The solution would be to flush memcached cache at the end of koha-remove.

The most straightforward method to do this is simply restart the service.

See attached patch.

-- 
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