Skip to content

engine: allow retrying partial primitives#8727

Merged
deepthi merged 1 commit intovitessio:mainfrom
vmg:vmg/primitives
Aug 30, 2021
Merged

engine: allow retrying partial primitives#8727
deepthi merged 1 commit intovitessio:mainfrom
vmg:vmg/primitives

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

Signed-off-by: Vicent Marti <vmg@strn.cat>
@vmg
Copy link
Collaborator Author

vmg commented Aug 30, 2021

Ready for review 🍏

Copy link
Collaborator

@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