Customer object counter #843
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#843
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:feat/customer_objects_metric"
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?
Customer object - regular object without splitID (simple object) or last part of complex object (with splitID and parentID, but without children - linking object has children).
Affected metrics -
frostfs_node_engine_objects_total{type="customer"}
&frostfs_node_engine_container_objects_total{type="customer"}
Closes #838
e4384659f0
to762df10e49
762df10e49
todc90b8e310
WIP: Customer object counterto Customer object counterIt it true that
count(customer) <= count(logic) <= count(physical)
?@ -20,1 +20,3 @@
objectLogicCounterKey = []byte("logic_counter")
objectPhyCounterKey = []byte("phy_counter")
objectLogicCounterKey = []byte("logic_counter")
objectCustomerCounterKey = []byte("customer_counter")
Maybe
user_counter
orroot_counter
?Changed to user
@ -91,3 +91,3 @@
}
s.incObjectCounter(putPrm.Address.Container())
s.incObjectCounter(putPrm.Address.Container(), meta.IsCustomerObject(prm.obj))
IsCustomerObject
sounds cryptic, wouldn't be obvioius if I was new to the codebase.Changed to user
dc90b8e310
to5662a4dcc6
yes
5662a4dcc6
to045fa423ee
045fa423ee
toa478050639