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 #3

Closed
wants to merge 1 commit into from

Conversation

mrcnc
Copy link
Owner

@mrcnc mrcnc commented Nov 11, 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.

@github-actions github-actions bot added the GCP label Nov 11, 2024
@mrcnc mrcnc force-pushed the implement-recover-file-for-gcsfileio branch 12 times, most recently from b5c5ba3 to dba27d1 Compare November 16, 2024 04:59
@mrcnc mrcnc force-pushed the implement-recover-file-for-gcsfileio branch from dba27d1 to 288152f Compare November 16, 2024 13:11
@mrcnc mrcnc closed this Nov 16, 2024
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