Object won't be deleted if shards are out of free space #1599
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#1599
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?
Expected Behavior
Object is able to get removed even shard is out of space
Current Behavior
When shards are full, then an object cannot get removed because
Put
with the object typetombstone
won't be performed:Possible Solution
Make a hard reservation for the disk space to put tombstone objects
Context
Regression
No regression as the problem seems to be never solved before
Your Environment
The bug can be easily reproduced in
frostfs-dev-env
Steps to Reproduce (for bugs)
To reproduce the bug in
frostfs-dev-env
we need to "shrink" docker volumes for the storagesext4
FS (probably, you can create the only disk image but I haven't checked this out)'REP 2 CBF 1 SELECT 2 FROM *'
df -h /mnt/disk1
shows 100% usage