Skip to content

OADP-7543: Optimize VSC handle readiness polling for VSS backups#484

Draft
sseago wants to merge 1 commit intoopenshift:oadp-1.5from
sseago:windows-polling-1.5
Draft

OADP-7543: Optimize VSC handle readiness polling for VSS backups#484
sseago wants to merge 1 commit intoopenshift:oadp-1.5from
sseago:windows-polling-1.5

Conversation

@sseago
Copy link

@sseago sseago commented Mar 12, 2026

Thank you for contributing to Velero!

Please add a summary of your change

This change adds more frequent (every one second) polling for the first 10 seconds that the CSI plugin waits for the snaphandle to appear. The prior 5-second polling interval resulted in multi-volume VMs taking more than 10 seconds to back up, at which point VSS would force an unfreeze too soon.

Does your change fix a particular issue?

OADP-7543

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
Signed-off-by: Scott Seago <sseago@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 12, 2026
@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 12, 2026

@sseago: This pull request references OADP-7543 which is a valid jira issue.

Details

In response to this:

Thank you for contributing to Velero!

Please add a summary of your change

This change adds more frequent (every one second) polling for the first 10 seconds that the CSI plugin waits for the snaphandle to appear. The prior 5-second polling interval resulted in multi-volume VMs taking more than 10 seconds to back up, at which point VSS would force an unfreeze too soon.

Does your change fix a particular issue?

OADP-7543

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@sseago sseago marked this pull request as draft March 12, 2026 15:26
@coderabbitai
Copy link

coderabbitai bot commented Mar 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 48a8404f-395c-42d2-8100-ede3b745f5a1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan for PR comments
  • Generate coding plan

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 12, 2026
@sseago
Copy link
Author

sseago commented Mar 12, 2026

Leaving as draft for now until the upstream fix merges.

@sseago
Copy link
Author

sseago commented Mar 12, 2026

Upstream solution will be configurable (and disabled by default). We also need to decide whether we want that fix in OADP-1.5 or whether we want this simpler fix.

  • Without it being configurable, we don't need any DPA changes, but there could be a performance impact for backups with a large number of volumes, and this fix is unnecessary for users that don't use VSS
  • If we make it configurable, we need to add a DPA field to control it.

@openshift-ci
Copy link

openshift-ci bot commented Mar 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sseago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 12, 2026
@openshift-ci
Copy link

openshift-ci bot commented Mar 12, 2026

@sseago: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants