[Varnish] #819: Persistent storage method, does not persist a service restart

Varnish varnish-bugs at varnish-cache.org
Fri Nov 26 12:52:38 CET 2010


#819: Persistent storage method, does not persist a service restart
------------------------------------+---------------------------------------
 Reporter:  David Busby             |        Owner:  phk       
     Type:  defect                  |       Status:  closed    
 Priority:  normal                  |    Milestone:            
Component:  varnishd                |      Version:  trunk     
 Severity:  normal                  |   Resolution:  worksforme
 Keywords:  persistent persistence  |  
------------------------------------+---------------------------------------
Changes (by phk):

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


Comment:

 if -spersistent is taken down before it has a chance to close the
 currently open segment properly, all objects therin will be lost on
 restart.

 Segments gets closed when they are full and when the CLI stop command is
 issued.

 You don't say how you restart varnishd, but if you use the CLI to give it
 stop and start commands, your objects should survive.  If you kill the
 process, it won't be able to close the segment.

 The p*.vtc testcases indicates this works as expected.

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




More information about the varnish-bugs mailing list