Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 444b6802980edd4931106b4db1d8c99dd479bb32 https://github.com/OpenSIPS/opensips/commit/444b6802980edd4931106b4db1d8c99dd479bb32 Author: Bogdan-Andrei Iancu <bog...@opensips.org> Date: 2015-01-21 (Wed, 21 Jan 2015)
Changed paths: M modules/dispatcher/dispatch.c M modules/dispatcher/dispatch.h M modules/dispatcher/dispatcher.c Log Message: ----------- Fix balancing on failover. First, the way the calls were re-distributed if the calculated destination is inactive was completely unbalanced and did not respect the hashing concepts (same hash hits the same destination). Along with this problem, the fix covers the re-balancing problem - if a destination becomes inactive, the balancing over the remaining destination should not be affected (if hash H1 hits destination D1, after D2 goes inactive, H1 must still hit D1). The use_default concept was reworked to properly work with all algorithms and in all cases (with or without weights). Closes #387.
_______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel