Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-1723 Fix peers filtering for gossip push/pull
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 <gennady@il.ibm.com>
- Loading branch information