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

engine: allow retrying partial primitives #8727

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Conversation

vmg
Copy link
Collaborator

@vmg vmg commented Aug 30, 2021

Description

I'm splitting #8700 into its building blocks to make it easier to merge incrementally. This first chunk refactors the engine primitives so they can be eventually retried on failure. It's a pretty straightforward abstraction that introduces a helper in VCursor.

cc @deepthi @harshit-gangal

Related Issue(s)

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

@vmg
Copy link
Collaborator Author

vmg commented Aug 30, 2021

Ready for review 🍏

Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deepthi deepthi merged commit 7d0607c into vitessio:main Aug 30, 2021
@systay
Copy link
Collaborator

systay commented Sep 29, 2021

aaargh... this PR changes a ton of method names, but not the corresponding comments. Linting is angry every time I touch something in engine now. 😭

Fixing it, but we should think about this in future PRs

@vmg
Copy link
Collaborator Author

vmg commented Sep 29, 2021

Oops, sorry about that @systay, somehow the IDE didn't pick up the renames... And the linter in CI didn't either. :/

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

Successfully merging this pull request may close these issues.

4 participants