diff --git a/go.mod b/go.mod index dd12769c8b..90babd6a6f 100644 --- a/go.mod +++ b/go.mod @@ -58,7 +58,7 @@ require ( go.opentelemetry.io/otel/sdk v1.34.0 go.opentelemetry.io/otel/sdk/metric v1.34.0 go.opentelemetry.io/otel/trace v1.34.0 - go.temporal.io/api v1.58.1-0.20251128181858-703071215042 + go.temporal.io/api v1.59.1-0.20251203230651-7773526824c5 go.temporal.io/sdk v1.35.0 go.uber.org/fx v1.24.0 go.uber.org/mock v0.6.0 diff --git a/go.sum b/go.sum index ea33209e43..e1902b4526 100644 --- a/go.sum +++ b/go.sum @@ -390,8 +390,8 @@ go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE= go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4= go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4= -go.temporal.io/api v1.58.1-0.20251128181858-703071215042 h1:44+nPe+rGhYUwA1oDi46rkXEYEVfoAxOmb0myvTm4Es= -go.temporal.io/api v1.58.1-0.20251128181858-703071215042/go.mod h1:iaxoP/9OXMJcQkETTECfwYq4cw/bj4nwov8b3ZLVnXM= +go.temporal.io/api v1.59.1-0.20251203230651-7773526824c5 h1:7lFIrLVM+NPVcqFMrEwv5d8D9meA7n/Xl9GtCl8Gyhc= +go.temporal.io/api v1.59.1-0.20251203230651-7773526824c5/go.mod h1:iaxoP/9OXMJcQkETTECfwYq4cw/bj4nwov8b3ZLVnXM= go.temporal.io/sdk v1.35.0 h1:lRNAQ5As9rLgYa7HBvnmKyzxLcdElTuoFJ0FXM/AsLQ= go.temporal.io/sdk v1.35.0/go.mod h1:1q5MuLc2MEJ4lneZTHJzpVebW2oZnyxoIOWX3oFVebw= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= diff --git a/service/frontend/operator_handler.go b/service/frontend/operator_handler.go index 60e95d1f63..a6ecf4a442 100644 --- a/service/frontend/operator_handler.go +++ b/service/frontend/operator_handler.go @@ -655,6 +655,7 @@ func (h *OperatorHandlerImpl) AddOrUpdateRemoteCluster( InitialFailoverVersion: resp.GetInitialFailoverVersion(), IsGlobalNamespaceEnabled: resp.GetIsGlobalNamespaceEnabled(), IsConnectionEnabled: request.GetEnableRemoteClusterConnection(), + IsReplicationEnabled: request.GetEnableReplication(), Tags: resp.GetTags(), }, Version: updateRequestVersion, @@ -724,6 +725,7 @@ func (h *OperatorHandlerImpl) ListClusters( InitialFailoverVersion: clusterResp.GetInitialFailoverVersion(), HistoryShardCount: clusterResp.GetHistoryShardCount(), IsConnectionEnabled: clusterResp.GetIsConnectionEnabled(), + IsReplicationEnabled: clusterResp.GetIsReplicationEnabled(), }) } return &operatorservice.ListClustersResponse{ diff --git a/tests/testcore/test_cluster.go b/tests/testcore/test_cluster.go index bc2bc10afa..1c4273450f 100644 --- a/tests/testcore/test_cluster.go +++ b/tests/testcore/test_cluster.go @@ -294,7 +294,7 @@ func newClusterWithPersistenceTestBaseFactory(t *testing.T, clusterConfig *TestC ClusterName: clusterName, ClusterId: clusterInfo.ClusterID, IsConnectionEnabled: clusterInfo.Enabled, - IsReplicationEnabled: clusterInfo.Enabled, + IsReplicationEnabled: clusterInfo.ReplicationEnabled, IsGlobalNamespaceEnabled: clusterMetadataConfig.EnableGlobalNamespace, FailoverVersionIncrement: clusterMetadataConfig.FailoverVersionIncrement, ClusterAddress: clusterInfo.RPCAddress,