-
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.
crosscluster: introduce ClusterUri and ConfigUri
This change introduces two types to replace StreamAddress. ConfigUri is the URI supplied by the user to the job. ConfigUri may be an external connection. ClusterUri is the Uri used to dial nodes in the destination cluster. This split was made to support the LDR/PCR over load balancer changes. The routing mode is defined by a URI parameter and the external connection needs to be resolved before the routing mode can be determined. The types allow us to add routing mode as ClusterUri method. There is one non-cosmetic change in this PR. The PCR job now tries to use the config URI as the first URI to connect to even if it checkpointed URIs for individual nodes (see stream_ingestion_job.go). This matches the behavior of LDR and is needed to properly handle updates to external URIs. Release Note: none Epic: CRDB-40896
- Loading branch information
1 parent
32b2ea2
commit d939b57
Showing
46 changed files
with
610 additions
and
456 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 was deleted.
Oops, something went wrong.
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
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.