-
Notifications
You must be signed in to change notification settings - Fork 101
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 Container level WORM
immutable object support for Azure Blob Storage.
#781
Conversation
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @renormalize. I have few comments, PTAL
ba302f7
to
ff22e90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, LGTM!
just one small mention: As discussed, it would be better if we mention somewhere that adding tags is only possible through CLI at the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good, few nits
@ishan16696 yes I'll get to it ASAP. |
* `List` is enhanced to optionally return tagged snapshots. * Unit tests for tagged snapshots added.
…he `"x-etcd-snapshot-exclude"="true"` tag.
c3c906a
to
ec870b0
Compare
Needs changes. Please do not merge. |
3b14cc3
to
f6a9238
Compare
var ( | ||
// ErrSnapshotDeleteFailDueToImmutability is the error returned when the Delete call fails due to immutability | ||
ErrSnapshotDeleteFailDueToImmutability = fmt.Errorf("ErrSnapshotDeleteFailDueToImmutability") | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the easiest way to establish a custom error for garbage collection, for dealing with errors faced during deletion of immutable objects.
In the future this should be removed, and a more comprehensive custom error should be created.
f6a9238
to
5f6832c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
What this PR does / why we need it:
Enables etcd-backup-restore to handle immutable objects as provided by Container Level WORM in Azure Blob Storage.
This PR mirrors #776 for Azure Blob Storage.
Which issue(s) this PR fixes:
Fixes # #777 only for ABS.
Special notes for your reviewer:
The same conventions are followed as in #776. Please let me know if you find anything that doesn't stick to those conventions.
Release note: