Skip to content
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

GCP: Implement SupportsRecoveryOperations for GCSFileIO #11565

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrcnc
Copy link
Contributor

@mrcnc mrcnc commented Nov 16, 2024

Inspired by the initial implementation in S3FileIO, this PR implements SupportsRecoveryOperations for GCSFileIO.

GCP recommends using soft delete instead of object versioning, so this implementation attempts to-restore a soft deleted object first. If soft delete is not enabled (which may be common since it's a relatively new feature), then it attempts to restore a previously deleted version by coping it to the live location, similar to the S3FileIO implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant