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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem in bitmap logic when more than one resource.
We need do logic or, not logic and.
Patch included.
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
Talking to Nick, we agreed this is not a bug, but rather a need for some new functionality.