Allow to check whether a container was deleted #35
Labels
No labels
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#35
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consider a situation where
frostfs-node
has connected to an outdated neo-go instance.It see
ContainerNotFound
as a deleted container, when it reality the container was not yet created.I suggest leaving some mark for deleted containers:
cid -> <container>
cid -> []byte{0}
This way we can be sure that the container was indeed removed.
We could also save session token instead of single
[]byte{0}
Closed via #36