Re: possible squid bugs [was: cacheability engine]

From: Dancer <dancer@dont-contact.us>
Date: Tue, 28 Mar 2000 00:58:52 +0000

Henrik Nordstrom wrote:

> Duane Wessels wrote:
>
> > putting such a change into the 2.x line violates our "promise"
> > that all 2.x versions would be store-wise compatible. People
> > would have to run ugly converters, etc.
>
> Have we promised forward compability (that files created with a newer
> version is equally usable by a older release) or only backward
> compability?
>
> There is actually no need to change the on-disk object format, only
> swap.state. I have always disliked how the "swap meta" information only
> is a raw dump from the StoreEntry. It should be a strucure of it's own.
>
> The object meta information is not a big deal. The format is extensible
> and allows for changes (new meta format -> new identifier). The
> swap.state is a trickier issue as there is no room for version
> information.
>
> /Henrik

Add a swap.state.version file.
If it doesn't exist the swap database requires conversion. If it does
exist, check that it contains the expected version number.

This does NOT work if the user backgrades, however, which would be my only
qualm.

D
Received on Mon Mar 27 2000 - 18:01:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:22 MST