Undelete blob
Adding undelete
operation support in the library to enable restoring soft-deleted blobs
We have seen a few records that end up in an inconsistent state where the latest version from CosmosDb for a record is soft-deleted from Blob storage. This will fail apis like GET /api/storage/v2/records/<id>
and POST /api/storage/v2/query/records:batch
. Restoring the soft delete version from Blob Storage (which is available in CosmosDb metadata for the record) will fix the inconsistency.
Reference docs:
https://github.com/Azure/azure-sdk-for-java/issues/25943
There will be a follow up change in Storage service
Edited by Alok Joshi