Metric frostfs_node_engine_container_size_bytes appears after container was removed #938
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 project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#938
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
Storage node does not produce zero-value metric of container size after container removal according to #864
Current Behavior
Metric frostfs_node_engine_container_size_bytes appears after container was removed
Steps to Reproduce (for bugs)
1.Create container
2.Put object
3.Delete container
4.Metrics have zero size
5.Tick epoch
6.Metric frostfs_node_engine_container_objects_total was removed, but metric frostfs_node_engine_container_size_byte continue appears
Regression
No
Version
Your Environment
Virtual
4 modes
Fixed.
Scenario:
1. Policer inhumes objects of removed container, size metric becomes 0
2. GC removes metric
3. GC removes physical objects of the removed container and updates metric (sets size=0), metric appears again
Fixes:
2. Delete size records in DB (doesn't relate to bug, but it is bug anyway).