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: client/client.go
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,11 @@ type (
87
87
// ParentClosePolicy defines the behavior performed on a child workflow when its parent is closed
88
88
ParentClosePolicy= internal.ParentClosePolicy
89
89
90
+
// QueryConsistencyLevel defines the level of consistency the query should respond with.
91
+
// It will default to the cluster's configuration if not specified.
92
+
// Valid values are QueryConsistencyLevelEventual (served by the receiving cluster), and QueryConsistencyLevelStrong (redirects to the active cluster).
Copy file name to clipboardExpand all lines: internal/client.go
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -586,6 +586,11 @@ type (
586
586
// ParentClosePolicy defines the action on children when parent is closed
587
587
ParentClosePolicyint
588
588
589
+
// QueryConsistencyLevel defines the level of consistency the query should respond with.
590
+
// It will default to the cluster's configuration if not specified.
591
+
// Valid values are QueryConsistencyLevelEventual (served by the receiving cluster), and QueryConsistencyLevelStrong (redirects to the active cluster).
592
+
QueryConsistencyLevelint
593
+
589
594
// ActiveClusterSelectionPolicy defines the policy for selecting the active cluster to start the workflow execution on for active-active domains.
590
595
// Active-active domains can be configured to be active in multiple clusters (at most one in a given region).
591
596
// Individual workflows can be configured to be active in one of the active clusters of the domain.
@@ -637,6 +642,15 @@ const (
637
642
WorkflowIDReusePolicyTerminateIfRunning
638
643
)
639
644
645
+
const (
646
+
// QueryConsistencyLevelUnspecified will use the default consistency level provided by the cluster.
0 commit comments