Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
.. warning::
- There has been a significant change to the way custom load-balancing policies written in Lua works since 2.1.0: they now need to return the index in the servers array of the backend they intend to select, instead of returning a reference the backend itself.
+ There has been a significant change to the way custom load-balancing policies written in Lua works since 2.1.0: they now need to return the index in the servers array of the backend they intend to select, instead of returning a reference to the backend itself.
If you don't like the default policies you can create your own, like this for example (before 2.1.0)::
2.0.x to 2.1.0
--------------
-Custom load-balancing policies written in Lua now need to return the index in the servers array of the backend they intend to select, instead of returning a reference the backend itself.
+Custom load-balancing policies written in Lua now need to return the index in the servers array of the backend they intend to select, instead of returning a reference to the backend itself.
1.9.x to 2.0.0
--------------