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
48bb211b
Commit
48bb211b
authored
Mar 15, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix shard director upgrade notes
parent
5834b8c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
upgrading-6.0.rst
doc/sphinx/whats-new/upgrading-6.0.rst
+9
-4
No files found.
doc/sphinx/whats-new/upgrading-6.0.rst
View file @
48bb211b
...
...
@@ -486,10 +486,15 @@ for advice on how to do so.
With the ``resolve=LAZY`` argument of the ``.backend()`` method, the
shard director will now defer the selection of a backend to when a
backend connection is actually made, which is how all other bundled
directors work as well. This enables layering the shard director below
other directors -- you can use ``.backend(resolve=LAZY)`` to set the
shard director as a backend for another director. ``resolve=LAZY``
MUST be used in ``vcl_init`` and on the client side.
directors work as well.
In ``vcl_init``, ``resolve=LAZY`` is default and enables layering the
shard director below other directors -- you can now use something like
``mydirector.add_backend(myshard.backend())`` to set the shard
director as a backend for another director.
Use of ``resolve=LAZY`` on the client side is limited to using the
default or associated parameters.
The shard director now provides a ``shard_param`` object that serves
as a store for a set of parameters for the director's ``.backend()``
...
...
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