Re: doublecheck

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 13 Dec 2000 14:51:39 +0100

Robert Collins wrote:
>
> I was planning on a readdir() style approach anyway. I have seen swap.state
> situations where files aren't in the log and after a rebuild just aren't
> seen by squid. The rebuild swap from disk routine checks this anyway.

Sounds like a good idea. The only problem is locating the swapentries
"the wrong way". For a large cache locating a swapentry by file number
is a very expensive task as there is no index covering that direction.

There are only two indexes to the store entries:

a) MD5 hash
b) Removal policy

/Henrik
Received on Wed Dec 13 2000 - 09:57:54 MST

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