Re: Validation code.

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 30 Nov 2000 16:15:58 -0700 (MST)

On Fri, 1 Dec 2000, Robert Collins wrote:

> > The being-written entry should have ENTRY_VALIDATED set, right?
> >
> > storeCleanup() skips entries with ENTRY_VALIDATED set.
> >
> > Duane W.
> >
> >
>
> Maybe so... I reused storeCleanup as the basis for the simple background check. And it was consistently releasing everything I
> downloaded if the background check hit it before SWAP_OUT occured. Perhaps VALIDATED is set when SWAP_OUT is? I'll go look.

ENTRY_VALIDATED is set in storeCreateEntry(), so I think the bit
should be set regardless of swapping out (for a new StoreEntry that
wasn't read from the swap.state).
Received on Thu Nov 30 2000 - 16:15:59 MST

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