azure-storage-azcopy: Job stuck InProgress status when synchronizing a folder with no changes

Which version of the AzCopy was used?

10.3.3

Which platform are you using? (ex: Windows, Mac, Linux)

Linux

What command did you run?

azcopy sync '<local folder>' '<blob uri w/sas>'

What problem was encountered?

The job was always in a state of InProgress even tho it exited with the message The source and destination are already in sync

How can we reproduce the problem in the simplest way?

Try synchronizing a local folder that does not change with a blob that does contain the same data as the local folder.

The job only changes the state to Completed when you add a file in the local folder and then fire up the sync command again. The job that was previously fired is stuck InProgress and will never change its status.

Have you found a mitigation/solution?

Nope

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

$? its a PowerShell syntax… it returns code of the last command executed.