Grace Mode Questions

Vincent Wells cooltechemail at gmail.com
Tue Nov 16 08:58:28 CET 2010


Hi Poul-Henning,

If there are multiple graced object, which one will be used in cases when
graced objects are needed? (for example, if the backend is sick). Will the
most recent one be used or varnish will randomly pick one?

Thanks,

Vincent

On Sun, Nov 14, 2010 at 1:32 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>wrote:

> In message <AANLkTinw8ZjDt2SsBvZPuC5O2bCBWPVpaXog7Du_joQ0 at mail.gmail.com>,
> Vinc
> ent Wells writes:
>
> >Thank you for your reply. I know it is TTL+grace. The questions is if
> grace
> >is much longer than TTL, does it mean varnish will keep multiple expired
> >copies of the same objected instead of the most recent one?
>
> Korrect:  There is no code to enforce only having one graced object.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101115/ee8bc57e/attachment-0003.html>


More information about the varnish-misc mailing list