metrics: Fix container_size_bytes for EC #1326

Merged
fyrchik merged 1 commit from acid-ant/frostfs-node:bugfix/ec-fix-container-size-b-support into support/v0.42 2024-09-04 19:51:11 +00:00
Member

Clone #1318

Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com

Clone #1318 Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
acid-ant added 2 commits 2024-08-20 13:36:37 +00:00
When node put chunk into EC container, `policer` may remove it as redundant.
This chunk marked as removed. When parent object removed and `gc` start iterating over chunk,
node count removing chunk twice.

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
[#1318] meta: Add test TestInhumeECObject
All checks were successful
DCO action / DCO (pull_request) Successful in 1m40s
Vulncheck / Vulncheck (pull_request) Successful in 1m56s
Build / Build Components (1.21) (pull_request) Successful in 2m26s
Build / Build Components (1.22) (pull_request) Successful in 2m34s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m55s
Tests and linters / Tests (1.21) (pull_request) Successful in 2m55s
Tests and linters / Tests (1.22) (pull_request) Successful in 2m54s
Tests and linters / Staticcheck (pull_request) Successful in 2m52s
Tests and linters / Tests with -race (pull_request) Successful in 2m58s
Tests and linters / Lint (pull_request) Successful in 3m11s
Tests and linters / gopls check (pull_request) Successful in 3m47s
5aef303259
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
acid-ant requested review from storage-core-committers 2024-08-20 13:36:43 +00:00
acid-ant requested review from storage-core-developers 2024-08-20 13:36:43 +00:00
dstepanov-yadro approved these changes 2024-08-20 13:38:18 +00:00
fyrchik approved these changes 2024-08-20 13:38:39 +00:00
fyrchik merged commit 5aef303259 into support/v0.42 2024-08-20 13:40:18 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1326
No description provided.