Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ea8a9807
Commit
ea8a9807
authored
Apr 19, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backends created on demand must have their probe init to healthy.
Fixes #3596
parent
9905baa5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
d00007.vtc
bin/varnishtest/tests/d00007.vtc
+4
-1
vcl-probe.rst
doc/sphinx/reference/vcl-probe.rst
+5
-0
No files found.
bin/varnishtest/tests/d00007.vtc
View file @
ea8a9807
...
@@ -14,7 +14,10 @@ varnish v1 -vcl {
...
@@ -14,7 +14,10 @@ varnish v1 -vcl {
backend dummy { .host = "${bad_backend}"; }
backend dummy { .host = "${bad_backend}"; }
probe pr {}
probe pr {
.threshold = 8;
.initial = 8;
}
sub vcl_init {
sub vcl_init {
new s1 = debug.dyn("0.0.0.0", "0");
new s1 = debug.dyn("0.0.0.0", "0");
...
...
doc/sphinx/reference/vcl-probe.rst
View file @
ea8a9807
...
@@ -160,6 +160,11 @@ The default values are:
...
@@ -160,6 +160,11 @@ The default values are:
* ``.initial`` = one less than ``.threshold``
* ``.initial`` = one less than ``.threshold``
Note that the default ``.initial`` means that the backend will be marked
unhealthy until the first probe response come back successful.
This means that for backends created on demand (by vmods) cannot use the
default value for ``.initial``, as the freshly created backend would very
likely still be unhealthy when the backend request happens.
SEE ALSO
SEE ALSO
========
========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment