Add maintenance zombie commands -> v0.42.18 #1711

Open
dstepanov-yadro wants to merge 4 commits from dstepanov-yadro/frostfs-node:zombie_162 into support/v0.42
No description provided.
dstepanov-yadro added 2 commits 2025-04-09 08:30:41 +00:00
Change-Id: I263d3e06d0bbb9ab395cf4ef313f77f7ea57ac2f
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
[#9999] amd: Adopt zombie scan to EC objects
Some checks failed
DCO action / DCO (pull_request) Successful in 30s
Vulncheck / Vulncheck (pull_request) Successful in 1m19s
Build / Build Components (pull_request) Successful in 1m48s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m49s
Tests and linters / Tests (pull_request) Successful in 1m59s
Tests and linters / Staticcheck (pull_request) Successful in 2m13s
Tests and linters / gopls check (pull_request) Failing after 2m20s
Tests and linters / Lint (pull_request) Successful in 2m50s
Tests and linters / Tests with -race (pull_request) Successful in 2m49s
e7aa9d7dd6
Change-Id: Ida3f339bb6e8343519933b60cdc4b544f7a02f1c
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
requested reviews from storage-core-committers, storage-core-developers 2025-04-09 08:30:42 +00:00
dstepanov-yadro added 1 commit 2025-04-09 10:33:32 +00:00
[#9999] core: Extend object info string with EC header
Some checks failed
DCO action / DCO (pull_request) Successful in 27s
Vulncheck / Vulncheck (pull_request) Successful in 1m11s
Build / Build Components (pull_request) Successful in 2m4s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m6s
Tests and linters / gopls check (pull_request) Failing after 2m23s
Tests and linters / Lint (pull_request) Successful in 2m42s
Tests and linters / Staticcheck (pull_request) Successful in 2m50s
Tests and linters / Tests (pull_request) Successful in 3m8s
Tests and linters / Tests with -race (pull_request) Successful in 2m13s
dcd05a02e7
Change-Id: I9a60ab654078ce3d7c1c287b3ec17bbedc2c1a7e
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
aarifullin reviewed 2025-04-09 13:29:10 +00:00
@ -0,0 +130,4 @@
objID := obj.Address.Object()
cnrID := obj.Address.Container()
local := true
Member

Not a big deal, but

local := obj.ECInfo == nil
if !local {
  objID = obj.ECInfo.ParentID
}
Not a big deal, but ```go local := obj.ECInfo == nil if !local { objID = obj.ECInfo.ParentID } ```
fyrchik reviewed 2025-04-09 14:23:55 +00:00
@ -0,0 +133,4 @@
local := true
if obj.ECInfo != nil {
objID = obj.ECInfo.ParentID
local = false
Owner

You check whether parent object can be headed.
This won't work if we have exactly the last chunk needed to construct HEAD, as the local node is down.
I believe more correct approach is to perform raw head and consider ECInfoError a witness of object existence.

You check whether parent object can be headed. This won't work if we have exactly the last chunk needed to construct HEAD, as the local node is down. I believe more correct approach is to perform `raw` head and consider `ECInfoError` a witness of object existence.
Author
Member

Fixed

Fixed
dstepanov-yadro force-pushed zombie_162 from dcd05a02e7 to 26a94a767a 2025-04-09 14:46:15 +00:00 Compare
aarifullin approved these changes 2025-04-09 15:02:28 +00:00
aarifullin left a comment
Member

Excellent

Excellent
dstepanov-yadro added 1 commit 2025-04-10 13:08:54 +00:00
[#9999] adm: Drop rpc-endpoint flag from zombie scan
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 1m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m24s
DCO action / DCO (pull_request) Successful in 1m43s
Tests and linters / Staticcheck (pull_request) Successful in 2m36s
Tests and linters / Lint (pull_request) Successful in 2m40s
Build / Build Components (pull_request) Successful in 2m52s
Tests and linters / gopls check (pull_request) Failing after 3m14s
Tests and linters / Tests (pull_request) Successful in 4m23s
Tests and linters / Tests with -race (pull_request) Successful in 4m32s
0886241ee0
Morph addresses from config are used.

Change-Id: I6b93c638a1366ad952e5210569c6d9d9a9c35889
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 1m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m24s
DCO action / DCO (pull_request) Successful in 1m43s
Tests and linters / Staticcheck (pull_request) Successful in 2m36s
Tests and linters / Lint (pull_request) Successful in 2m40s
Build / Build Components (pull_request) Successful in 2m52s
Tests and linters / gopls check (pull_request) Failing after 3m14s
Tests and linters / Tests (pull_request) Successful in 4m23s
Tests and linters / Tests with -race (pull_request) Successful in 4m32s
This pull request doesn't have enough approvals yet. 1 of 2 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u zombie_162:dstepanov-yadro-zombie_162
git checkout dstepanov-yadro-zombie_162
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-committers
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#1711
No description provided.