Files
tasks/tests/testdata/ndc_clusters.yaml
Rodrigo ZhouandGitHub 6ff8452a2a Remove support for Cassandra as visibility store (#5237)
## What changed?
<!-- Describe what has changed in this PR -->
Remove support for Cassandra as visibility store.
Updated integration tests that used Cassandra visibility to use
Elasticsearch.

## Why?
<!-- Tell your future self why have you made these changes -->
Deprecating Cassandra visibility.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
Updated tests.

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
No.

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
No.
2024-01-29 11:36:00 -06:00

117 lines
2.8 KiB
YAML

- persistence:
dbname: test_cluster_a
clustermetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-a"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 1
rpcName: "frontend"
rpcAddress: "127.0.0.1:7134"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "127.0.0.1:8134"
cluster-c:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "127.0.0.1:9134"
enablearchival: false
workerconfig:
enablearchiver: false
enablereplicator: true
clusterno: 0
historyconfig:
numhistoryshards: 1
numhistoryhosts: 1
esconfig:
version: "${ES_VERSION}"
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: temporal_visibility_v1_ndc_test_a
- persistence:
dbname: cluster_b
clustermetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-b"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 1
rpcName: "frontend"
rpcAddress: "127.0.0.1:7134"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "127.0.0.1:8134"
cluster-c:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "127.0.0.1:9134"
enablearchival: false
workerconfig:
enablearchiver: false
enablereplicator: true
clusterno: 1
historyconfig:
numhistoryshards: 1
numhistoryhosts: 1
esconfig:
version: "${ES_VERSION}"
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: temporal_visibility_v1_ndc_test_b
- persistence:
dbname: other
clustermetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-c"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 1
rpcName: "frontend"
rpcAddress: "127.0.0.1:7134"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "127.0.0.1:8134"
cluster-c:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "127.0.0.1:9134"
enablearchival: false
workerconfig:
enablearchiver: false
enablereplicator: true
clusterno: 2
historyconfig:
numhistoryshards: 1
numhistoryhosts: 1
esconfig:
version: "${ES_VERSION}"
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: temporal_visibility_v1_ndc_test_c