Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDC bug: Adding new cluster requiring setting the active cluster to update the domain cache #4340

Open
longquanzheng opened this issue Aug 4, 2021 · 0 comments

Comments

@longquanzheng
Copy link
Collaborator

Version of Cadence server, and client(which language)
This is very important to root cause bugs.

  • Server version: 0.21.3
  • Client version: N/A
  • Client langauge:N/A

Describe the bug
Domain cache is not updated after adding a new cluster.
To mitigate, I have to set the active cluster name to its current value.

To Reproduce
Is the issue reproducible?

  • Yes

Steps to reproduce the behavior:
image

Expected behavior
The 2nd step shouldn't be needed

Screenshots

(master)$cadence --ct 100 --address <>:7933  --do workflow-prototype d desc
Name: workflow-prototype
UUID: 52d8d0f6-f5aa-4e1d-8d4d-7a9e91255c9a
Description:
OwnerEmail:
DomainData: map[]
Status: REGISTERED
RetentionInDays: 1
EmitMetrics: true
ActiveClusterName: active
Clusters: active, awscmhqa2
HistoryArchivalStatus: DISABLED
VisibilityArchivalStatus: DISABLED
Bad binaries to reset:
+-----------------+----------+------------+--------+
| BINARY CHECKSUM | OPERATOR | START TIME | REASON |
+-----------------+----------+------------+--------+
+-----------------+----------+------------+--------+
qlong@~/indeed/cadence-sandbox-helm-chart:
(master)$cadence --ct 100 --address <>:7933  --do workflow-prototype workflow cancel -w template:indeed:agg:job-id:1653:15
Error: Cancel workflow failed.
Error Details: DomainNotActiveError{Message: Domain: 52d8d0f6-f5aa-4e1d-8d4d-7a9e91255c9a is active in cluster: awscmhqa2, while current cluster active is a standby cluster., DomainName: 52d8d0f6-f5aa-4e1d-8d4d-7a9e91255c9a, CurrentCluster: active, ActiveCluster: awscmhqa2}

Additional context
Add any other context about the problem here, E.g. Stackstace, workflow history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant