[master] 47cb9b9 Document that obj.hits may behave differently.

Lasse Karstensen lkarsten at varnish-software.com
Mon May 12 13:12:14 CEST 2014


commit 47cb9b987508d710d9932d6a5ae03ad58c5d5574
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Mon May 12 13:11:53 2014 +0200

    Document that obj.hits may behave differently.

diff --git a/doc/sphinx/whats-new/upgrading.rst b/doc/sphinx/whats-new/upgrading.rst
index 3170a85..c882093 100644
--- a/doc/sphinx/whats-new/upgrading.rst
+++ b/doc/sphinx/whats-new/upgrading.rst
@@ -142,6 +142,12 @@ obj is now read-only
 `obj` is now read-only. `obj.hits`, if enabled in VCL, now counts per
 objecthead, not per object. `obj.last_use` has been retired.
 
+Note that obj.hits may not be reset in some cases where bans are in use. See
+bug 1492_ for details.
+
+.. _1492: https://www.varnish-cache.org/trac/ticket/1492
+
+
 Some return values have been replaced
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 



More information about the varnish-commit mailing list