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

Only generate one Async Operation for CSI backup and some code refactor #231

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

blackpiglet
Copy link
Contributor

@blackpiglet blackpiglet commented Mar 18, 2024

  • Only generate one Async Operation for CSI backup.
  • use function passed-in context.
  • replace the deprecated apimachinery/pkg/util/wait method and variable.
  • remove unneeded function parameters.

1. use function passed-in context.
2. replace the depracated apimachinery/pkg/util/wait method and variable.
3. remove unneeded function parameter.

Signed-off-by: Xun Jiang <[email protected]>
@blackpiglet blackpiglet self-assigned this Mar 18, 2024
@blackpiglet blackpiglet changed the title Code refactor Only generate one Async Operation for CSI backup and some code refactor Mar 18, 2024
@blackpiglet blackpiglet marked this pull request as ready for review March 18, 2024 03:08
@blackpiglet blackpiglet force-pushed the code_refactor branch 2 times, most recently from 53bca01 to 6cae6d1 Compare March 18, 2024 09:11
Copy link
Collaborator

@shubham-pampattiwar shubham-pampattiwar left a comment

Choose a reason for hiding this comment

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

@blackpiglet Changes look good to me. But wanted to ask why the clubbing together of VS and VSC plugin operations ?

  • Were there significant performance improvements observed at scale ?
  • Or anything else like ease of ux/dev ?

@blackpiglet
Copy link
Contributor Author

@blackpiglet Changes look good to me. But wanted to ask why the clubbing together of VS and VSC plugin operations ?

  • Were there significant performance improvements observed at scale ?
  • Or anything else like ease of ux/dev ?

The main consideration is not about the performance. The second factor is the main reason. There should be only one async operation for a volume backup.

@shubham-pampattiwar shubham-pampattiwar merged commit 36e5755 into vmware-tanzu:main Mar 22, 2024
2 checks passed
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.

3 participants