[Varnish] #310: WS_Reserve panic + error

Varnish varnish-bugs at projects.linpro.no
Sun Sep 7 18:59:37 CEST 2008


#310: WS_Reserve panic + error
----------------------+-----------------------------------------------------
 Reporter:  sky       |        Owner:  phk      
     Type:  defect    |       Status:  new      
 Priority:  normal    |    Milestone:  After 2.0
Component:  varnishd  |      Version:  trunk    
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by phk):

  * owner:  des => phk
  * status:  reopened => new
  * component:  build => varnishd
  * milestone:  => After 2.0

Comment:

 I guess this is a "Ah-ha" bug.

 We cannot safely assign a string variable that is built on the object
 workspace in vcl_hit{} because the object is not locked.

 If two worker threads tries to do it at the same time, they will collide
 like we see here.

 I don't think this will be fixed for 2.0, it will have to be an errata.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/310#comment:7>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list