-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add Bucket Lock
immutable object support for Google Cloud Storage.
#776
Commits on Sep 10, 2024
-
Implement handling of immutable snapshots in etcd backup restore
- Added `RetentionExpiry` field to Snapshot struct to store retention expiry time. - Added `IsDeletable` method to `Snapshot` struct to determine if a snapshot is deletable based on `RetentionExpiry`. - Introduced `ExcludeSnapshotMetadataKey` constant for marking snapshots to be ignored. - Modified garbage collection logic to skip immutable snapshots. - Updated GCS snapstore list function to exclude objects with `x-etcd-snapshot-exclude` metadata.
Configuration menu - View commit details
-
Copy full SHA for dab519d - Browse repository at this point
Copy the full SHA dab519dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46c9d69 - Browse repository at this point
Copy the full SHA 46c9d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb63e1 - Browse repository at this point
Copy the full SHA 8eb63e1View commit details -
Enable
List
calls to return untagged and tagged snapshots based on ……a `bool` argument.
Configuration menu - View commit details
-
Copy full SHA for 8d7acb3 - Browse repository at this point
Copy the full SHA 8d7acb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c097f3 - Browse repository at this point
Copy the full SHA 7c097f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7be197 - Browse repository at this point
Copy the full SHA d7be197View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3545d03 - Browse repository at this point
Copy the full SHA 3545d03View commit details
Commits on Sep 11, 2024
-
Defined an interface which mock snapstores should implement to emulat…
…e tagged snapshots' behavior.
Configuration menu - View commit details
-
Copy full SHA for f40496b - Browse repository at this point
Copy the full SHA f40496bView commit details
Commits on Sep 12, 2024
-
Remove hardcoding of tags in mock GCS tag implementation.
* Remove hardcoding of tags in mock GCS tag implementation. * Rename the `tagI` interface to `tagger`. * Rename the methods of the `tagger` interface to plural since they operate on all tags of the snapshot.
Configuration menu - View commit details
-
Copy full SHA for 5675306 - Browse repository at this point
Copy the full SHA 5675306View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc64835 - Browse repository at this point
Copy the full SHA cc64835View commit details -
Fix log strings, enhance
List
method comment, remove hardcoding.* Logs for skipping GC with immutable objects mention "immutability period" and not "retention period" since retention period as a phrase is already used for delta snapshot retention. * Enhance `ExcludeSnapshotMetadataKey` and `List` method comments. * Eliminate the potential for a flaky test in snapshot_test.go where later expiry time is only set to a nanosecond after the creation time instead of a microsecond. The test could flake if the test gets run within a microsecond. * Removed one hardcoding of a string from the proposed changed, and quite a bit of hardcoding in the existing codebase in snapstore_test.go
Configuration menu - View commit details
-
Copy full SHA for b78df58 - Browse repository at this point
Copy the full SHA b78df58View commit details
Commits on Sep 20, 2024
-
Rename
RetentionExpiry
toImmutabilityExpiryTime
* This rename makes the distinction clearer between retention expiry which is used for delta snapshots typically, and the immutability expiry time of a snapshot.
Configuration menu - View commit details
-
Copy full SHA for a6680d4 - Browse repository at this point
Copy the full SHA a6680d4View commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f227198 - Browse repository at this point
Copy the full SHA f227198View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c0ea11f - Browse repository at this point
Copy the full SHA c0ea11fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 040b232 - Browse repository at this point
Copy the full SHA 040b232View commit details