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

Revert persistence rate limit error type #2312

Merged
merged 2 commits into from
Dec 19, 2021

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented Dec 18, 2021

What changed?
Revert persistence rate limit error type.

Why?
Persistence rate limiting error type was changed from ResourceExahusted to Unavailable but the shard context's handleError was not updated. This cause shard to unload/reload on this error which increases persistence load and amplify the problem.

Potential risks
No

Is hotfix candidate?
Yes

@yiminc yiminc requested review from wxing1292 and a team December 18, 2021 05:29
@yiminc yiminc changed the title Correctly handle persistence rate limit error Revert persistence rate limit error type Dec 18, 2021
@yiminc yiminc merged commit c80744d into temporalio:master Dec 19, 2021
Ardagan pushed a commit to Ardagan/temporal that referenced this pull request Dec 20, 2021
* Correctly handle persistence rate limit error

* revert error type change
Ardagan pushed a commit to Ardagan/temporal that referenced this pull request Dec 20, 2021
* Correctly handle persistence rate limit error

* revert error type change
Ardagan added a commit that referenced this pull request Dec 20, 2021
* Correctly handle persistence rate limit error

* revert error type change

Co-authored-by: Yimin Chen <yimin.chen@live.com>
Ardagan added a commit that referenced this pull request Dec 20, 2021
* Correctly handle persistence rate limit error

* revert error type change

Co-authored-by: Yimin Chen <yimin.chen@live.com>
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.

2 participants