On Wed, Mar 11, 2009 at 10:50:32AM +0100, Audun Ytterdal wrote:
> On Tue, Mar 10, 2009 at 10:00 AM, Kristian Lyngstol
> <krist...@redpill-linpro.com> wrote:
> > On Mon, Mar 09, 2009 at 09:53:05PM -0400, Javier Frias wrote:
> >> Is there a way to server objects out of grace when the backend is down?
> >
> > This was implemented in r3886 [1] and is available in trunk only at the 
> > moment.
> >
> > Also see #369 [2] regarding 'forced' grace/saint mode/attempted grace.
> >
> > [1] http://varnish.projects.linpro.no/changeset/3886
> > [2] http://varnish.projects.linpro.no/ticket/369
> 
> Hm. One of backend application does HTTP purge at the moment. Would it
> be possible to have some logic to that could enable you to say "purge
> this url only if you are not in degraded/supergrace mode"

This can be done by evaluating req.backend.healthy in VCL with the current
implementation. It's going to be slightly trickier with regards to next
part of #369 that deals with erroneous responses from a backend though.

-- 
Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497

Attachment: pgpuhsAg98Lgs.pgp
Description: PGP signature

_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to