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

[workflow] Call scanWorkflow concurrently #8272

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

ajm188
Copy link
Contributor

@ajm188 ajm188 commented Jun 7, 2021

Description

scanWorkflow involves a remote call to a tablet to get the
copy_state rows for the workflow stream associated with that tablet.
Calling this concurrently gives us a noticeable speedup, especially on
workflows involving many streams.

Signed-off-by: Andrew Mason amason@slack-corp.com

Related Issue(s)

Checklist

  • Tests were added or are not required -- N/A
  • Documentation was added or is not required

Deployment Notes

@ajm188 ajm188 added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Cluster management labels Jun 7, 2021
@ajm188 ajm188 requested review from rafael and doeg June 7, 2021 00:47
@ajm188 ajm188 requested a review from deepthi as a code owner June 7, 2021 00:47
Copy link
Contributor

@doeg doeg left a comment

Choose a reason for hiding this comment

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

This looks good to me!

`scanWorkflow` involves a remote call to a tablet to get the
`copy_state` rows for the workflow stream associated with that tablet.
Calling this concurrently gives us a noticeable speedup, especially on
workflows involving many streams.

Signed-off-by: Andrew Mason <amason@slack-corp.com>
@ajm188 ajm188 merged commit a3c34a3 into vitessio:main Jun 15, 2021
@ajm188 ajm188 deleted the am_vtctld_concurrent_scanworkflow branch June 15, 2021 22:05
ajm188 added a commit to tinyspeck/vitess that referenced this pull request Jun 15, 2021
…scanworkflow

[workflow] Call `scanWorkflow` concurrently

Signed-off-by: Andrew Mason <amason@slack-corp.com>
ajm188 added a commit to tinyspeck/vitess that referenced this pull request Jul 23, 2021
…scanworkflow

[workflow] Call `scanWorkflow` concurrently

Signed-off-by: Andrew Mason <amason@slack-corp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Cluster management Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
2 participants