[FEATURE REQ] Provide a way to retrieve the etag associated with the final flush request when using OpenWriteAsync #48192
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
This issue requires a new behavior in the product in order be resolved.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Library name
Azure.Storage.Files.DataLake 12.21.0
Please describe the feature.
When disposing the stream obtained from OpenWriteAsync, there isn't a way to get the etag of the final flush request today. This is useful when uploading large amounts of data, and caching the etag. We could send another request to get the Etag, but it is not guaranteed to be the same as the one we just uploaded.
We could write our own stream implementation to do this, however, the value add of using the one from OpenWriteAsync is that the sdk seems to call append in 4MB chunks which matches the smallest billing quanta, and so sdk's implementation is billing efficient.
The text was updated successfully, but these errors were encountered: