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

Update replication fetcher lifecycle #2421

Merged
merged 7 commits into from
Jan 27, 2022

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Jan 26, 2022

What changed?
Update replication fetcher lifecycle to do the followings:

  1. The replication fetcher is lazy start.
  2. Cluster metadata only handles the fetcher end of lifecycle.

Why?
The replication processor waits on fetcher response via channel. When the fetcher is recreated, the processor will not receive response from the original fetcher and gets stuck.

How did you test it?
Tested locally

Potential risks

Is hotfix candidate?
Yes

@yux0 yux0 requested review from yiminc and a team January 26, 2022 21:43
@yiminc yiminc merged commit b042650 into temporalio:master Jan 27, 2022
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