Skip to content

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

@cthulhu-rider cthulhu-rider force-pushed the ec-part-recreation branch 3 times, most recently from 2cde16f to bedbf70 Compare October 14, 2025 15:48
@cthulhu-rider cthulhu-rider force-pushed the ec-part-recreation branch 6 times, most recently from 1263882 to 7d18369 Compare October 22, 2025 15:57
@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 31.08108% with 306 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.37%. Comparing base (67e9ba2) to head (93b920c).
⚠️ Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/policer/ec.go 20.87% 209 Missing and 7 partials ⚠️
pkg/services/object/head/remote.go 0.00% 47 Missing ⚠️
internal/ec/ec.go 0.00% 10 Missing ⚠️
pkg/services/object/get/get.go 0.00% 9 Missing ⚠️
pkg/services/object/get/ec.go 0.00% 7 Missing ⚠️
pkg/services/policer/policer.go 41.66% 6 Missing and 1 partial ⚠️
pkg/services/replicator/process.go 0.00% 7 Missing ⚠️
pkg/metrics/engine.go 80.00% 2 Missing ⚠️
cmd/neofs-node/object.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3628      +/-   ##
==========================================
- Coverage   27.40%   27.37%   -0.03%     
==========================================
  Files         656      658       +2     
  Lines       41194    41762     +568     
==========================================
+ Hits        11288    11434     +146     
- Misses      28850    29260     +410     
- Partials     1056     1068      +12     

☔ View full report in Codecov by Sentry.
📢 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.

@cthulhu-rider cthulhu-rider marked this pull request as ready for review October 22, 2025 17:06
cthulhu-rider added a commit that referenced this pull request Oct 24, 2025
The session token is in the parent object, but in the part it is
meaningless. Moreover, if the part object needs to be recreated, the
session token will no longer exist. Therefore, not adding a token
preserves the object ID which is good for deduplication.

For this to work, it was necessary to make an exception when checking
the signature against the object owner.

Refs #3628.

Signed-off-by: Leonard Lyubich <[email protected]>
cthulhu-rider added a commit that referenced this pull request Oct 24, 2025
The session token is in the parent object, but in the part it is
meaningless. Moreover, if the part object needs to be recreated, the
session token will no longer exist. Therefore, not adding a token
preserves the object ID which is good for deduplication.

For this to work, it was necessary to make an exception when checking
the signature against the object owner.

Refs #3628.

Signed-off-by: Leonard Lyubich <[email protected]>
@cthulhu-rider
Copy link
Contributor Author

lets handle #3651 first

Extend `Policer` with workers checking availability of EC parts. Free
worker takes the job each time some EC part is processed by regular
Policer routine. If no more than N parts are unavailable (where N is a
number of parity parts in the container policy), they are recreated
using available ones. The part has consistent ID even after restoration
which is good for deduplication.

Closes #3554.

Signed-off-by: Leonard Lyubich <[email protected]>
@cthulhu-rider cthulhu-rider merged commit df9d134 into master Nov 1, 2025
20 of 22 checks passed
@cthulhu-rider cthulhu-rider deleted the ec-part-recreation branch November 1, 2025 16:01
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.

3 participants