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

Add retries for instant query #5560

Closed

Conversation

harry671003
Copy link
Contributor

@harry671003 harry671003 commented Sep 13, 2023

What this PR does:
This PR adds retries for instant queries.
There is also some refactoring done to avoid duplicating the code for mockLimits.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@harry671003 harry671003 force-pushed the retry_instant_query branch 2 times, most recently from ded52d2 to 54a899f Compare September 13, 2023 17:55
Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
@yeya24
Copy link
Contributor

yeya24 commented Sep 13, 2023

We probably need to change code added in #5062.
I skipped instant query round tripper to avoid serialization/deserailization cost if not shardable. But this won't allow retry as well.

Now since we are going to add a general retry layer, we should remove the code of that code to let all requests go to round tripper.

It will cause some performance issue but I think worth it.

@harry671003
Copy link
Contributor Author

I'll close this in lieu of #5561.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants