-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Get error when try to delete blob snapshot #84
Milestone
Comments
I think we should have a unit test for this scenario, deleting blob snapshot is a basic scenario to support. |
Option 1 is most in-line with the goal of the service layer. When making the fix we should make sure that the javadcos are explicit on the function of each possible value (True, False, null). |
ghost
assigned gcheng
Jul 13, 2012
joostdenijs
pushed a commit
to joostdenijs/azure-sdk-for-java
that referenced
this issue
Jan 18, 2013
subscription Messagecount should be a readonly property. fixes Azure#61
jianghaolu
pushed a commit
to jianghaolu/azure-sdk-for-java
that referenced
this issue
Apr 5, 2017
subscription Messagecount should be a readonly property. fixes Azure#61
g2vinay
pushed a commit
to g2vinay/azure-sdk-for-java
that referenced
this issue
Mar 4, 2019
g2vinay
pushed a commit
to g2vinay/azure-sdk-for-java
that referenced
this issue
Mar 4, 2019
Azure#84 getBlobReferenceFromServer
g2vinay
pushed a commit
to g2vinay/azure-sdk-for-java
that referenced
this issue
Mar 4, 2019
Archivesupport
navalev
pushed a commit
to navalev/azure-sdk-for-java
that referenced
this issue
Dec 24, 2019
* Adds HTTP 207 handling, raising an error when an indexing call was only partially successful * Adds IndexBatchException * Updates client to handle HTTP 207 * Updates tests to handle newly thrown errors
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The message sent by using this code:
is
which returns
The reason for this is explained (somewhat) in the documentation at http://msdn.microsoft.com/en-us/library/windowsazure/dd179413:
There are a few potential fixes.
DeleteSnaphotsOnly
property nullable, and not include the header if null. But that makes the user have to do more work, because that makes them unable to delete a blob which has associated snapshots unless they explicitly setDeleteSnapshotsOnly
to false. But that might be more appropriate for a service layer.DeleteSnaphotsOnly
property.DeleteSnaphotsOnly
and a snapshot.I'm leaning toward (1), because that is most in line with what a service layer should do. A higher-level convenience layer can add in trickier logic for inferring the correct headers.
The text was updated successfully, but these errors were encountered: