contract: Add DeletionInfo() method #36
No reviewers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
Labels
No Label
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No Milestone
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#36
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "fyrchik/frostfs-contract:check-contract-deletion"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Close #35.
a382fc3a51
toeddfb88735
contract: Add WasDeleted() methodto contract: Add DeletionInfo() methodI have thought about blocks vs epochs, decided to go with epochs, to simplify client code.
@ -340,0 +343,4 @@
Epoch int
}
// DeletionInfo method returns true iff a container was deleted previously.
iff
->if
Maybe this was intentionally https://en.wikipedia.org/wiki/If_and_only_if
Rewrote it a bit.
Very nice
eddfb88735
tof4a0808e7f