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

Release current workflow lock on create as zombie #4085

Merged
merged 2 commits into from
Mar 30, 2021
Merged

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Mar 29, 2021

What changed?
Release current workflow lock on create as zombie

Why?
When creating workflow as zombie, the zombie wf may trigger event reapply to the current workflow run. It requires releasing the lock to avoid dead lock.

How did you test it?
Local test, a functional test will be add to cover this case.

Potential risks

@yux0 yux0 requested review from yycptt and a team March 29, 2021 19:00
@coveralls
Copy link

coveralls commented Mar 29, 2021

Pull Request Test Coverage Report for Build 027d0c8a-764f-4f1d-b8eb-90c0483cdfa1

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • 11 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.008%) to 66.818%

Files with Coverage Reduction New Missed Lines %
common/membership/rpServiceResolver.go 2 73.58%
common/persistence/cassandra/cassandraPersistenceUtil.go 2 92.62%
common/task/weightedRoundRobinTaskScheduler.go 2 89.12%
common/task/fifoTaskScheduler.go 5 84.54%
Totals Coverage Status
Change from base Build ee8c8964-336b-4149-983a-b01c73bd31fe: 0.008%
Covered Lines: 83565
Relevant Lines: 125064

💛 - Coveralls

@yux0 yux0 merged commit 560b268 into master Mar 30, 2021
@yux0 yux0 deleted the zombie_reapply branch March 30, 2021 00:30
yux0 added 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.

3 participants