temporalio / temporalio/temporal
Surprising clusterMetadata override
Open
@yux0 is already working on this.
Since Jul 14, 2022.
bug
teams/cgs
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Expected Behavior
If DB is not initialized, static config of cluster metadata should be
- either respected & persisted into DB
- or deprecated completely
Actual Behavior
clusterMetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-a"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "localhost:7233"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "localhost:8233"
Using above static config & clean DB & after 1s ish, the cluster-b section will be deleted
Steps to Reproduce the Problem
See above
Specifications
- Version: 1.16.x+
- Platform: Mac & Intel
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.