-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-12816] cluster.RPC mapping per destination.
The egress wrapper for the cluster communication caches the last Submit stream and only reacquires it if a Send() or Recv() was attempted and failed. This is problematic because a leader may change while there is no call to Send() or Recv() in a follower node, and then the stream will be mapped to a node that is no longer the leader. This change set makes the mapping be per destination and not global, by adding a map that maps destinations to streams. Change-Id: I028bde6fb2248cb8a56ad622be4e73827834caf4 Signed-off-by: yacovm <[email protected]>
- Loading branch information
Showing
3 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters