-
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.
80164: closedts: stop workloop on close when remote is unavailable r=nvanbenschoten,andreimatei a=aliher1911 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 Fixes #80156 80710: add links to code comments in tech notes readme r=irfansharif a=msbutler This patch aims to centralize some of the nuggets of wisdom scattered throughout the codebase. Co-authored-by: Oleg Afanasyev <[email protected]> Co-authored-by: Michael Butler <[email protected]>
- Loading branch information
Showing
4 changed files
with
81 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
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