Azurite icon indicating copy to clipboard operation
Azurite copied to clipboard

Blob - UndeleteAsync - APINotImplemented

Open seankearney opened this issue 1 year ago • 3 comments

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the Azurite was used?

3.27.0

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

Docker

What's the Node.js version?

14.21.3

What problem was encountered?

Message: 
Azure.RequestFailedException : Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues
RequestId:39a16490-80f1-47d9-80ab-40570d5a0d6e
Time:2024-03-28T18:51:58.851Z
Status: 500 (Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues)
ErrorCode: APINotImplemented

Content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error>
  <Code>APINotImplemented</Code>
  <Message>Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues
RequestId:39a16490-80f1-47d9-80ab-40570d5a0d6e
Time:2024-03-28T18:51:58.851Z</Message>
</Error>

Headers:
Server: Azurite-Blob/3.29.0
x-ms-error-code: APINotImplemented
x-ms-request-id: 39a16490-80f1-47d9-80ab-40570d5a0d6e
Date: Thu, 28 Mar 2024 18:51:58 GMT
Connection: keep-alive
Keep-Alive: REDACTED
Transfer-Encoding: chunked
Content-Type: application/xml


  Stack Trace: 
BlobRestClient.UndeleteAsync(Nullable`1 timeout, CancellationToken cancellationToken)
BlobBaseClient.UndeleteInternal(Boolean async, CancellationToken cancellationToken)
BlobBaseClient.UndeleteAsync(CancellationToken cancellationToken)

Steps to reproduce the issue?

  1. Upload a blob
  2. Delete the blob
  3. Try to Undelete the blob

Have you found a mitigation/solution?

No.

seankearney avatar Mar 28 '24 19:03 seankearney

@seankearney

Blob Soft Delete is still not supported in Azurite, you can see it in Azurite readme file: https://github.com/Azure/Azurite#:~:text=Soft%20delete%20%26%20Undelete%20Blob

Azurite welcome contribution! If would be great if you could help to implement it! (As this will impact many API changes, if you would like help to implement it, please first raise a design doc so we can discuss and get agreement on the design, then we can have a smooth PR review later.)

blueww avatar Mar 29 '24 04:03 blueww

@blueww I understand it isn't supported. I'm just following the exception message

"Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues".

I didn't see any existing issue for this so I created it.

seankearney avatar Mar 29 '24 19:03 seankearney

@seankearney

Thanks for the reply! We actually already has issue like https://github.com/Azure/Azurite/issues/417 for blob soft delete.

blueww avatar Apr 01 '24 03:04 blueww