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

Fix domain registration error handling in cassandra #4066

Merged
merged 8 commits into from
Mar 23, 2021

Conversation

yycptt
Copy link
Contributor

@yycptt yycptt commented Mar 22, 2021

What changed?
Fix domain registration error handling in cassandra

Why?
DomainAlreadyExists error may be returned even if the domain is not actually registered when there's concurrent domain registration requests due to CAS failure on domain metadata.

How did you test it?
Persistence unit test

Potential risks

@yycptt yycptt requested a review from yux0 March 22, 2021 18:05
@coveralls
Copy link

coveralls commented Mar 23, 2021

Coverage Status

Coverage increased (+0.06%) to 66.878% when pulling 7da99b1 on yycptt:fix-domain-register into 00fafac on uber:master.

@yycptt yycptt merged commit d5cc770 into cadence-workflow:master Mar 23, 2021
@yycptt yycptt deleted the fix-domain-register branch March 23, 2021 23:04
yux0 pushed a commit to yux0/cadence that referenced this pull request May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants