Azure / azure-storage-java

Microsoft Azure Storage Library for Java
https://docs.microsoft.com/en-us/java/api/overview/azure/storage
MIT License
189 stars 165 forks source link

[QUERY] expected behavior during large uploads #574

Open dcbrown16 opened 2 years ago

dcbrown16 commented 2 years ago

We are assisting a customer with advisory questions through CSS (you can contact me internally at v-dibr). They have the following two questions about large uploads with the Storage SDK for Java.

  1. Is it possible for other users/apps to start trying to read a blob at some point during the upload before the upload is complete?
  2. If there is an error during a large upload, will incomplete data be left as a blob?

If there is different behavior across versions, please let us know any relevant differences, or if there would be any reason not to use the latest version in this scenario.

dcbrown16 commented 2 years ago

For additional info, they have a separate system that will trigger when blobs of a specific name are uploaded, so they want to know if they need to do something like uploading under a temporary name and changing the name after upload is complete, to prevent the other system from triggering prematurely.