You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File gossip/filter/filter.go
Method SelectPeer - in case of small k, log(membership) for example,
and many small channels in most cases it will return empty list -
as first step it choose k peers from membership and only after that
filter them, as result it will remain with zero peers
Correct way to implement it is filter peers first and only after that
choose k peers from filtered list.
Change-Id: I1577df37cc8441adf7e96a0e847dc901afd60ea8
Signed-off-by: Gennady Laventman <[email protected]>
0 commit comments