[Tickets #12088] Re: Need to clear or check cache if compression changes
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Mar 4 20:40:31 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12088
------------------------------------------------------------------------------
Ticket | 12088
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Need to clear or check cache if compression changes
Queue | Horde Framework Packages
Version | Git master
Type | Bug
-State | Assigned
+State | Feedback
-Priority | 2. Medium
+Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2013-03-04 13:40) wrote:
> Once horde_lz4 is stable, or even earlier when user have
> preferred_state=beta set, upgrading with -a will install the
> extension (even though not activating it by default). This will
> break existing caches though
No it won't. In fact, I have not once cleared my cache that was
previously stored with lzf compression and everything works fine.
I specifically made sure that horde_lzf fails gracefully if it tries
to decompress non-lz4 compressed data. In this case, it returns false
which counts as a cache-miss. Which is no big deal and something we
do all the time (e.g. changing the serialize format of an object).
Sure - if someone upgrades when active sessions are active that
session will likely be terminated. But so what? That could be said
about any number of changes that would break active sessions. We've
never supported in-place upgrading of active sessions.
More information about the bugs
mailing list