Re: Size mismatch?

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 20 Sep 1999 23:08:04 -0600

On Tue, 21 Sep 1999, Kevin Littlejohn wrote:

>
> Assuming a storeSwapInFileOpened: Size mismatch error is indicating a
> mismatch between squid's own index and what's on disk (ie. corruption of
> one or the other - is that a valid assumption?), is there a good reason for
> calling storeReleaseRequest (which appears to release only the pending
> request), rather than storeRelease (which would also delete the object
> from disk)?

You might be confused by the poorly-chosen function names.
storeRelease and storeReleaseRequest do the same thing.

storeReleaseRequest means "a request to release the object." It
sets the RELEASE_REQUEST flag. If that flag is set when the lock
count becomes zero, the object is released from the cache.

Duane W.
Received on Tue Jul 29 2003 - 13:16:00 MDT

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