[asterisk-bugs] [Asterisk 0015321]: [patch] Patch to make DUNDi load balance across hosts with the same weight

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 27 14:45:34 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
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:                     closed
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:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-12 17:32 CDT
Last Modified:              2009-07-27 14:45 CDT
====================================================================== 
Summary:                    [patch] 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0108277) lmadsen (administrator) - 2009-07-27 14:45
 https://issues.asterisk.org/view.php?id=15321#c108277 
---------------------------------------------------------------------- 
License was rejected. Please reopen this issue and attach a new patch and
refill in the license application, correcting any issues. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-27 14:45 lmadsen        Note Added: 0108277                          
2009-07-27 14:45 lmadsen        Status                   new => closed       
2009-07-27 14:45 lmadsen        Resolution               open => suspended   
======================================================================




More information about the asterisk-bugs mailing list