-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-8954] Fix index out of range panic
The index out of range occurs because the peer retriever is called multiple times during Resolve and sometomes it returns a different sized set of peers (this can happen if a peer goes down or comes back up during the operation). This patch fixes the problem by feeding the peer group resolver a peer retriever that always returns the same set of peers for the duration of the call to Resolve. Change-Id: I265943f6c2a5339ce7a411620aa016c6d5078a9c Signed-off-by: Bob Stasyszyn <[email protected]>
- Loading branch information
1 parent
406f79d
commit f1fb12c
Showing
5 changed files
with
192 additions
and
161 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
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
Oops, something went wrong.