[Varnish] #977: Client and hash-directors doesn't retry on different backends

Varnish varnish-bugs at varnish-cache.org
Mon Aug 15 21:48:49 CEST 2011


#977: Client and hash-directors doesn't retry on different backends
----------------------+-----------------------------------------------------
 Reporter:  kristian  |        Owner:        
     Type:  defect    |       Status:  closed
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  normal    |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [149c4d4f6e256deb1ed145cf22849e2bd03ab5b7]) Implement a consistent
 retry policy in the random/client/hash director:

 If the first (policy-chosen) backend fails to get us a connection,
 retry a random backend (still according to their weight) until
 retries are exhausted.

 Kristian sent a proof of concept patch, I just cleaned it up and made
 it compile.

 Thanks to:      Kristian

 Fixes   #977

-- 
Ticket URL: </ticket/977#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list