Open v-xianya opened 4 years ago
After you make an issue in azcopy repo, move to 15 please.
Seems related to https://github.com/Azure/azure-storage-azcopy/issues/696
Move to 1.17.0 since AzCopy don't have the capacity to fix this.
Hello, I would like to check whether there are any updates on this issue.
We are running into it when copying many files within BlockBlobStorage
account with Premium
performance. Some of the copied files are AppendBlob
s, which cause the copy operation to fail. After the failed copy we can see empty AppendBlob
s at the destination (source files aren't empty).
Attaching logs for a simplified issue reproduction: cloning a single AppendBlob
.
Copy AzCopy Command to Clipboard
./azcopy.exe copy "https://[redacted].blob.core.windows.net/[redacted]/[redacted]/stdout.txt?sv=2020-08-04&se=2022-02-18T13%3A49%3A43Z&sr=c&sp=rl&sig=[redacted]" "https://[redacted].blob.core.windows.net/[redacted]/[redacted]/stdout.txt_copy_4?sv=2020-08-04&se=2022-02-18T13%3A49%3A43Z&sr=c&sp=rwl&sig=[redacted]" --overwrite=prompt --s2s-preserve-access-tier=false --recursive --trusted-microsoft-suffixes= --log-level=INFO;
InvalidHeaderValue
AuthorizationPermissionMismatch
I can copy/clone an AppendBlob
on a StorageV2
account with Standard/Cool
performance/tier without any issues.
Using ASE 1.21.3 with azcopy 10.12.2 on Windows.
Can you think of any temporary fix for this?
In one of our scenarios we don't care about AppendBlob
s, so excluding them, or silencing copy errors would help us too. This would let us check ASE's transfer status for any potential issues, e.g. BlockBlob
s we care about.
Azcopy has the --exclude-blob-type=AppendBlob
flag which looks like what we need, but I haven't found a way to instruct ASE to add that flag when internally calling azcopy.
Azcopy called by ASE seems to respect environment variables, but I haven't found a variable for excluding AppendBlob
s.
I've also found that ASE supports some sort of extensions, which could potentially help in this case, but haven't found any documentation for that.
Another alternative is to build some custom gui around azcopy, but that would lack a lot of ASE's functionality. Note that our users aren't programmers or too comfortable with command line.
Unfortunately the most straightforward way to mitigate this problem is to directly use the command line tool for AzCopy. Sorting by blob type might help you manually exclude append blobs but that would be very tedious if you have a large number of blobs.
I see, thank you for your reply.
One more observation: copying AppendBlob
with a cp
command on a linux machine with a Premium BlockBlobStorage
container mounted with blobfuse succeeds, but the resulting blob is of BlockBlob
type.
Storage Explorer Version: 1.13.0 Build: 20200410.5 Branch: rel/1.13.0 Platform/OS: Windows 10/ Linux Ubuntu 18.04/ macOS High Sierra Architecture: ia32/x64 Regression From: Previous release(1.12.0)
Steps to reproduce:
Expect Experience: Succeed to clone the append blob.
Actual Experience:
Error info:
This request is not authorized to perform this operation using this permission.
More Info: