-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
streamingccl: fix cross cluster replication bug
This change does a couple of things: - It introduces a cluster setting to enable replication of span configs from the source, system tenant to the destination, system tenant. This settings is default true. This is a new feature in 23.2 and so it seems like a good idea to have a killswitch. - It special cases `pgcode.UndefinedFunction` error that is thrown if the source cluster is on a pre-23.2 version that does not recognize `crdb_internal.setup_span_configs_stream($1)`. In case of this error, we simply skip replicating the span configs. This is meant to be a short term, backportable solution. Release note (bug fix): fixes a bug where replicating from a source cluster that is on an older version (<23.2) than the destination cluster would fail because of an undefined builtin function
- Loading branch information
1 parent
128e987
commit 721641a
Showing
5 changed files
with
31 additions
and
2 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
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