[Varnish] #1492: obj.hits is misleading after ban

Varnish varnish-bugs at varnish-cache.org
Mon May 5 09:02:13 CEST 2014

#1492: obj.hits is misleading after ban
 Reporter:  lkarsten  |       Owner:  Poul-Henning Kamp <phk@…>
     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
 * owner:   => Poul-Henning Kamp <phk@…>
 * resolution:   => fixed


 In [278d90fdc0008a55405550482ccf9bc4d74f18dc]:
 #!CommitTicketReference repository=""
 Update the documentation for obj.hits to reflect code reality.

 In 4.x we changed obj.hits to be read-only, and to count all variants
 under the same hash-key (= same objhdr).

 Since we cannot trivially tell if a ban hits all Vary: values or
 just some of them, there is no sane heuristic to fiddle obj.hits
 on bans that would Do The Right Thing.

 Fixes #1492

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

More information about the varnish-bugs mailing list