-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FABG-916] Evict connection in TRANSIENT_FAILURE state
When a peer is shut down, the connection to that peer goes into TRANSIENT_FAILURE state and we wait for it to be set to READY state. After the peer is started the connection will be in TRANSIENT_FAILURE state for several more seconds (even though the peer is up), potentially causing timeouts at the client. With this patch, connections that are in TRANSIENT_FAIURE state are evicted from the cache. An error is immediately returned to the client so that it may retry connecting with a fresh connection. Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
- Loading branch information
1 parent
2f8e5d3
commit 6fa500f
Showing
3 changed files
with
30 additions
and
1 deletion.
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