]> err.no Git - varnish/commit
Merge r3359: Fix the broken logic in the random directors picking routine.
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Nov 2008 10:07:29 +0000 (10:07 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Nov 2008 10:07:29 +0000 (10:07 +0000)
commit8bb8bf3d9ba53d3f02baa79d931b22d4eb131222
treef58d6c3e2363edabf3ab975085ef7e2341d13b25
parent27171fd50022a7af31deebb5700fe696f6419ce2
Merge r3359: Fix the broken logic in the random directors picking routine.

Drop the consistency check for health-changes, at the cost of a
slight bias[1] for hosts before, or after, then one that changed health,
according to how its health changed.

Count all failures to pick against the retry count.

Fixes #361

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3369 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_dir_random.c