Should the NoFMemberPickerPlugin implement a Round Robin approach?
Opened this issue · 4 comments
eduardolfalcao commented
Whenever there is a free rider in the federation a cooperative member would always ask resources to him, which would always be denied and, then, the federation wouldn't work properly.
eduardolfalcao commented
Besides that, apparently, the NoFMemberPicker is implemented returning the node with lower debt... take a closer look at FederationMemberDebtComparator
eduardolfalcao commented
The comparator used in the prioritization plugin shouldnt be the same for the member picker, because the sorting mechanism is exactly the opposite
eduardolfalcao commented
the tests in the nofmemberpicker are dumb, and thus the mistake was not noted
eduardolfalcao commented
an alternative is to uso getLast, instead of getFirst