Skip to content

Fix EC RANGE continuation#3662

Merged
cthulhu-rider merged 1 commit intomasterfrom
bugfix/ec-range-continuation
Jan 28, 2026
Merged

Fix EC RANGE continuation#3662
cthulhu-rider merged 1 commit intomasterfrom
bugfix/ec-range-continuation

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 25.69%. Comparing base (c3e62dd) to head (3b63cb0).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/get/ec.go 0.00% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3662      +/-   ##
==========================================
+ Coverage   25.67%   25.69%   +0.01%     
==========================================
  Files         660      660              
  Lines       42176    42167       -9     
==========================================
+ Hits        10830    10833       +3     
+ Misses      30362    30350      -12     
  Partials      984      984              

☔ 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 January 26, 2026 08:11
@roman-khimov
Copy link
Member

Changelog?

@cthulhu-rider cthulhu-rider force-pushed the bugfix/ec-range-continuation branch 2 times, most recently from c40ae42 to 41f1a6e Compare January 28, 2026 09:14
func (s *Service) copyECObjectRangeByRule(ctx context.Context, dst ChunkWriter, localNodeKey ecdsa.PrivateKey, cnr cid.ID,
parent oid.ID, sTok *session.Object, rule iec.Rule, ruleIdx int, sortedNodes []netmap.NodeInfo,
off, ln uint64) (uint64, error) {
off, ln uint64) (uint64, uint64, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two same-typed return values now, comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

When part of the range is processed, it is necessary to update not only
the offset but also the length for the remainder.

Refs #3423.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider force-pushed the bugfix/ec-range-continuation branch from 41f1a6e to 3b63cb0 Compare January 28, 2026 10:21
@cthulhu-rider cthulhu-rider merged commit bc322b8 into master Jan 28, 2026
16 checks passed
@cthulhu-rider cthulhu-rider deleted the bugfix/ec-range-continuation branch January 28, 2026 10:21
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