Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O OS Core Lib Azure
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Lib
  • cloud
  • azure
  • OS Core Lib Azure
  • Merge requests
  • !216

Undelete blob

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Alok Joshi requested to merge undelete_blob into master Jun 24, 2022
  • Overview 22
  • Commits 12
  • Pipelines 20
  • Changes 3

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://docs.microsoft.com/en-us/azure/storage/blobs/soft-delete-blob-manage?tabs=dotnet#restore-soft-deleted-blobs-when-versioning-is-enabled

https://github.com/Azure/azure-sdk-for-java/issues/25943

There will be a follow up change in Storage service

Edited Jun 24, 2022 by Alok Joshi
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: undelete_blob