forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate clustersInfo configuration in favor of new clusterMetadata… (…
…cadence-workflow#1809) Deprecate clustersInfo configuration in favor of new clusterMetadata, which provides better flexibility * Add conversion function which turn clustersInfo into clusterMetadata * State builder in history service will always set the replication state whenever applying an event. * Fix & update workflow execution reset test code. New config change allows a cluster to be disabled, which can be useful for cluster migration using cross DC Before: ``` clustersInfo: enableGlobalDomain: false failoverVersionIncrement: 10 masterClusterName: "active" currentClusterName: "active" clusterInitialFailoverVersion: active: 0 clusterAddress: active: rpcName: "cadence-frontend" rpcAddress: "127.0.0.1:7933" ``` After: ``` clusterMetadata: enableGlobalDomain: false failoverVersionIncrement: 10 masterClusterName: "active" currentClusterName: "active" clusterInformation: active: enabled: true initialFailoverVersion: 0 rpcName: "cadence-frontend" rpcAddress: "127.0.0.1:7933" ```
- Loading branch information
Showing
37 changed files
with
565 additions
and
410 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
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.