-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closedts: stop workloop on close when remote is unavailable
Previously if remote node containing replica was removed, sidetransport connection will keep trying to connect to non-existing node until server is stopped regardless of connection status. This is not good as it will keep trying every second wasting resources and also spamming log with message every 10 seconds. This patch moves liveness check to the top of runloop to terminate it early as soon as connection is closed. Release note: None
- Loading branch information
1 parent
c14b173
commit 69f5451
Showing
3 changed files
with
71 additions
and
10 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