Skip to content

Commit

Permalink
FAB-15461 Fix election adapter to return correct peers
Browse files Browse the repository at this point in the history
1. Make the adapter between the gossip layer to the leader election layer
   return peers that have channel membership instead of basic membership
2. Export IsInMyOrg() in gossipServiceImpl so it could be used in the
   election adapter
3. Update Gossip counterfeiter mocks in discovery/support/mocks
4. Release RLock in peerMockGossip when g.cluster is nil

Change-Id: Ic3dc422e527a0778844851414387e480d23aee65
Signed-off-by: ronenschafferibm <ronen.schaffer@ibm.com>
Signed-off-by: yacovm <yacovm@il.ibm.com>
  • Loading branch information
ronensc authored and mastersingh24 committed Apr 10, 2020
1 parent f9e80e8 commit 856f215
Show file tree
Hide file tree
Showing 7 changed files with 808 additions and 520 deletions.
Loading

0 comments on commit 856f215

Please sign in to comment.