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

Adding Feature Flag to RoboCopy in WindowsMachineFileCopyV2 #20746

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

EshitaD
Copy link
Contributor

@EshitaD EshitaD commented Dec 23, 2024

Task name: WindowsMachineFileCopyV2

Description: After enabling this feature flag, Robocopy will retry three times because, by default, Robocopy has a 1-million retry limit.

Documentation changes required: (Y/N)

Added unit tests: (Y/N)

Attached related issue: BUG

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

@EshitaD EshitaD requested review from manolerazvan and a team as code owners December 23, 2024 05:38
$cleanupArgument = "/NOCOPY /E /PURGE"
}
else{
$cleanupArgument = "/NOCOPY /E /PURGE /R:3 "
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here: it will be great to have an opportunity to pass number of retries from the backend (for ex, $env:CUSTOM_NUMBER_OF_RETRIES_IN_ROBOCOPY)

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.

2 participants