You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/activecluster/types.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ const (
44
44
)
45
45
46
46
// Manager is the interface for active cluster manager.
47
-
// It is used to lookup active cluster, cluster name and failover versions.
47
+
// It is used to lookup region, active cluster, cluster name and failover version etc.
48
48
// This was introduced to support active-active domains.
49
49
// It encapsulates the logic to lookup the active cluster for all kinds of domains. Most other components should use this interface instead of cluster metadata directly.
50
50
// It is also used to notify components when there's an external entity change. History engine subscribes to these updates similar to domain change notifications.
Copy file name to clipboardExpand all lines: docs/design/active-active/active-active.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The main drawbacks of Active-Passive approach are:
33
33
34
34
## Design
35
35
36
-
Active-active domains are a new mode of isolation where domain is active in multiple clusters but individual workflows are only active in one cluster at any given time. Users can create workflows in any of the active clusters under the same domain. Each workflow will be considered active in of the domain's active clusters. The per-workflow active cluster selection mechanism will be dynamic/extensible to support different strategies.
36
+
Active-active domains are a new mode of isolation where domain is active in multiple clusters but individual workflows are only active in one cluster at any given time. Users can create workflows in any of the active clusters under the same domain. Each workflow will be considered active in one of the domain's active clusters. The per-workflow active cluster selection mechanism will be dynamic/extensible to support different strategies.
37
37
38
38
Before diving into the details of active-active domains design, let's look at how active-passive domains work at high level. Then we will cover how active-active domains will be implemented in follow up sections.
39
39
@@ -82,7 +82,7 @@ There's no "region" concept in Cadence today. However, with active-active domain
82
82
83
83

84
84
85
-
The underlying reason for these constraints is mainly to reuse existing failover version to cluster mapping that relies on failover versions. By restricting active-active domains to have only one active cluster per region, we can reuse the failover version mapping mechanism to determine the active cluster of a workflow.
85
+
The underlying reason for these constraints is mainly to reuse existing failover version to cluster mapping that relies on failover versions. By restricting active-active workflows of active-active domains to have only one active cluster per region, we can reuse the failover version mapping mechanism to determine the active cluster of a workflow.
86
86
87
87
Active-active domains do NOT have a failover version in the database because "activeness" is not a property of a domain. Instead, workflows of active-active domains will be associated with an "entity" which has a failover version based on the region.
88
88
@@ -153,8 +153,8 @@ Workflow start request determines which cluster selection strategy to be used.
153
153
| Has active-region.lookup-key | Has active-region.origin | Strategy |
0 commit comments