'AzCopy while source container is written
I tried to do some research but unable to find the answer. Let's say you have container A. at 1pm, container A had the following files:
- test1.txt (inside the file is abcdefg)
- test2.txt (inside the file is klmnopq)
AzCopy was performed to container A , copying it from storage C to storage D. It started at 1.01pm and finished at 1.05pm.
At 1.02pm, mr.X performed the following:
- Add test3.txt inside container A
- Modify test1.txt to "defgh"
The question is, what does end up in storage D for container A copy?
- the original files? ie test1.txt (inside the file is abcdefg) and test2.txt (inside the file is klmnopq)
- or something else?
thanks
Solution 1:[1]
The outcome depends on the specific timing of the writes/copies. AzCopy makes sure to guarantee the file integrity by checking the LastModified time of the source during the copy. In other words, whatever is at the source when AzCopy scanning happened will be locked on and copied.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SumanthMarigowda-MSFT |
