Hi, On 10/7/25 14:49, Holger Hoffstätte via dnsdist wrote:
I remember that this worked in 1.9.x, but somehow: $dnsdist -cshowVersion()dnsdist 2.0.1setWeightedBalancingFactor(0)setWeightedBalancingFactor cannot be used at runtime!
It used to be possible to change the value at runtime indeed. In 2.0 we had to review all the configuration items to decide which ones should be modifiable or not, because several items lived in a grey area where we never intended them to be modified at runtime but it was not actually enforced. For this item in particular it did not seem very interesting to be able to change the value at runtime, and making it immutable was slightly better for performance. We can reconsider, of course!
Curiously enough I found a regession test for this in regression-tests.dnsdist/test_Routing.py, so..bug or feature?
The tests are checking that we can set the value at configuration time, not at runtime, or am I missing something?
Best regards, -- Remi
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ dnsdist mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/dnsdist
