Skip to content

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.

2 participants