Skip to content

sn/object: move placement logic into shared service#4030

Open
End-rey wants to merge 1 commit into
masterfrom
unify-placement
Open

sn/object: move placement logic into shared service#4030
End-rey wants to merge 1 commit into
masterfrom
unify-placement

Conversation

@End-rey

@End-rey End-rey commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Closes #1803.

Move placement building and caching logic from `cmd/neofs-node` into
`pkg/services/object/placement`. Reuse the shared placement service in object
and control code paths.

Closes #1803.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 41.73913% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.01%. Comparing base (a09f9da) to head (cecd014).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-node/object.go 0.00% 29 Missing ⚠️
pkg/services/object/placement/service.go 63.15% 27 Missing and 1 partial ⚠️
pkg/services/control/server/evacuate.go 0.00% 6 Missing ⚠️
pkg/services/control/server/server.go 0.00% 3 Missing ⚠️
cmd/neofs-node/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4030      +/-   ##
==========================================
+ Coverage   26.97%   27.01%   +0.03%     
==========================================
  Files         684      684              
  Lines       46520    46511       -9     
==========================================
+ Hits        12549    12564      +15     
+ Misses      32787    32761      -26     
- Partials     1184     1186       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share functionality of placement building between components

1 participant