-
Notifications
You must be signed in to change notification settings - Fork 879
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
DATA Race when downloading blob item from storage container #22156
Comments
Does this create any sort of issue or data corruption problem for you or just that tool is pointing there is a race condition here ? |
I don't think data corruption is a risk here. Since this is happening when growing the buffer pool, it could cause us to over-allocate buffers which would cause Note that we document |
Hi vibhansa-msft, |
We seem to experience this issue (or at least hangups/freezes for some reason) when utilizing argo workflows. The call to the SDK is here. It's hard to reproduce because it only happens sporadically. We download about 10 to 100 blobs/files (to give an estimate) in a loop (DownloadDirectory func in argo workflows) in that specific step in our workflow. On an estimated 1 in a 1000 times it hangs. |
@Todorov99, can you please share the steps to replicate this? |
Hi, I work in the same team as Todor. |
So basically i could share a code sample of a function which in case is included in ginkgo It container and executed with the race detector flag (ginkgo --race) might report the stacktrace which i mentioned above.
I think the issue is that in case nil is provided for the DownloadFileOptions (3rd argument of the DownloadFile function signature) the default value of 5 will be used for the Concurrency property. Respectively the situation which was describe by @jhendrixMSFT will be reproduced i think. Note: The report of the stacktrace from the race detector is not constantly reproducible |
Thanks for the info. This bug was introduced in this commit 1dc804a. We will fix this in the next release. |
Hello there. Here are stack dumps of the blocked goroutines.
|
There is a bug in the DownloadFile method which was introduced after this commit 1dc804a. We will fix this in the next release. |
workaround for Azure/azure-sdk-for-go#22156 Signed-off-by: Roel Arents <[email protected]>
workaround for Azure/azure-sdk-for-go#22156 Signed-off-by: Roel Arents <[email protected]>
Hi, we have released the bug fix. Please update to the latest release azblob v1.3.0. |
DATA Race when downloading blob item from storage container
Running one of our tests with the race detector flag (ginkgo --race ...) reported this data race issue:
The text was updated successfully, but these errors were encountered: