[OpenSIPS-Devel] [OpenSIPS/opensips] c5c1f4: Fix recalculating Active nodes and weight sums aft...
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Dec 9 12:08:08 EST 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: c5c1f40ea54f0908421ece09bdc5e4b70ceba6cb
https://github.com/OpenSIPS/opensips/commit/c5c1f40ea54f0908421ece09bdc5e4b70ceba6cb
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M modules/dispatcher/dispatch.c
Log Message:
-----------
Fix recalculating Active nodes and weight sums after reload
When inheriting the state from in-mem old data set, the state of a node may change, so we need to recalculate the number of active nodes and the running sums (for weights) in the set.
Fixes #972, but we need @hydrosine confirmation on this.
More information about the Devel
mailing list