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

Redispatch task on passive processor during failover #3333

Merged
merged 2 commits into from
Jun 12, 2020

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Jun 11, 2020

What changed?
Add passive task filter to check the pending active status. If the domain is in pending active, the passive task processor should re-dispatch the tasks.

Why?
During graceful failover, no task should be processed in both the active processor and passive processors

How did you test it?
local test

Potential risks
N/A

@yux0 yux0 requested review from vancexu and yycptt June 11, 2020 20:16
@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 67.753% when pulling 37207bb on passive_task_processor into 27dcc41 on master.

@yux0 yux0 merged commit 0474c64 into master Jun 12, 2020
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.

4 participants