Menu

#631 LoadBalancer bug

1.10.x
closed-invalid
modules (454)
5
2013-05-10
2013-03-15
No

$avp(res) = "aaa";
load_balance(1,"$avp(res)") - works

$avp(res) = "bbb";
load_balance(1,"$avp(res)") - works

$avp(res) = "aaa;bbb";
load_balance(1,"$avp(res)") - no lines

Discussion

  • Nick Altmann

    Nick Altmann - 2013-04-01
     
  • Nick Altmann

    Nick Altmann - 2013-04-01

    The problem in bitmap logic when more than one resource.
    We need do logic or, not logic and.

    Patch included.

     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
     
  • Bogdan-Andrei Iancu

    Hi Nick,

    I don't think your fix is correct - the dst_bitmap mask tells which destinations should be used. And it is built as a logical "and" between all the dst_bitmap masks for the used resources. Each resource has its own dst_bitmap mask with the destinations that offer that resource - so you need to "and" the the bitmaps for the requests destinations in order to get the only destinations offering all requested resources.

    Maybe your provisioning is not right - could you post your lb table ?

    Regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • status: open --> open-invalid
     
  • Bogdan-Andrei Iancu

    • status: open-invalid --> closed-invalid
     
  • Bogdan-Andrei Iancu

    Talking to Nick, we agreed this is not a bug, but rather a need for some new functionality.

     

Log in to post a comment.