-
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.
sql: retry all DistSQL runner dial errors
This commit marks the error that DistSQL runners produce when dialing remote nodes in a special way that is now always retried-as-local. In particular, this allows us to fix two problematic scenarios that could occur when using secondary tenants: - when attempting to start a pod with stale instance information - the port is in use by an RPC server for the same tenant, but with a new instance id. This commit includes the test from Jeff that exposed the gap in the retry-as-local mechanism. Release note: None
- Loading branch information
1 parent
d819b9c
commit 990dfdc
Showing
3 changed files
with
81 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