[asterisk-bugs] [Asterisk 0015321]: Patch to make DUNDi load balance across hosts with the same weight
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jun 12 17:32:59 CDT 2009
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=15321
======================================================================
Reported By: irish
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15321
Category: PBX/pbx_dundi
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: 1.4.25.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-12 17:32 CDT
Last Modified: 2009-06-12 17:32 CDT
======================================================================
Summary: Patch to make DUNDi load balance across hosts with
the same weight
Description:
Presently in 1.4.25 dundi lookups return the first existing member. If
multiple members tie for the top rank, only the first host is called.
By trivially changing the function passed to qsort, tied weights are
shuffled within the tied partition. Overall ranking of weights is
maintained. The result: when dundi lookup fetches the first member, it
load balances across the top tier weight. I've uploaded the patch as a
udiff in the information field.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-06-12 17:32 irish New Issue
2009-06-12 17:32 irish Asterisk Version => 1.4.25.1
2009-06-12 17:32 irish Regression => No
2009-06-12 17:32 irish SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list