Get rid of IsTombstoneAvailable()
#1434
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
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-node#1434
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?
We provide tombstone source to the shard level to check whether we can remove tombstone mark.
if !s.tsSource.IsTombstoneAvailable(ctx, ts.Tombstone(), epoch) {
func (g *ExpirationChecker) IsTombstoneAvailable(ctx context.Context, a oid.Address, epoch uint64) bool {
This is wrong on so many levels:
bool
return value is not enough to make an informed decision, there are lot's of errors and tombstone being unavailable dosen't mean it doesn't exist.The suggestion is to:
Refs #1433