Skip to content

EC GET fixes#4013

Draft
cthulhu-rider wants to merge 6 commits into
masterfrom
fix-ec-get
Draft

EC GET fixes#4013
cthulhu-rider wants to merge 6 commits into
masterfrom
fix-ec-get

Conversation

@cthulhu-rider

Copy link
Copy Markdown
Contributor

closes #4012

@cthulhu-rider cthulhu-rider force-pushed the fix-ec-get branch 2 times, most recently from a430971 to ea460d0 Compare June 9, 2026 08:04
Defect of 5af9bf9.

Refs #4012.

Signed-off-by: cthulhurider <ctulhurider@gmail.com>
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 14.94253% with 74 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.79%. Comparing base (3b4a1dd) to head (58a3860).

Files with missing lines Patch % Lines
pkg/services/object/get.go 0.00% 52 Missing ⚠️
pkg/services/object/get/ec.go 4.34% 22 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4013      +/-   ##
==========================================
- Coverage   27.80%   27.79%   -0.02%     
==========================================
  Files         681      682       +1     
  Lines       46758    46816      +58     
==========================================
+ Hits        13003    13012       +9     
- Misses      32517    32567      +50     
+ Partials     1238     1237       -1     

☔ 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.

Defect of d25f426. Previously, in case
of fallback to GET by chunk routines, they weren't synchronized request
initialization and blocked to wait their turn to copy payload chunks.
This could result in the chunks being streamed out of order.

Refs #4012.

Signed-off-by: cthulhurider <ctulhurider@gmail.com>
Defect of d25f426. Chunk routine
cancelling may happen concurrently. Previously, blocking channel write
was used. If multiple routines did so, this led to deadlock.

This make server to use non-blocking write instead.

Closes #4012.

Signed-off-by: cthulhurider <ctulhurider@gmail.com>
Omission of d25f426.

Signed-off-by: cthulhurider <ctulhurider@gmail.com>
Break request handling when request context is done. Also do not log
such errors.

Signed-off-by: cthulhurider <ctulhurider@gmail.com>
Such cases are normal so do not worth log records.

Signed-off-by: cthulhurider <ctulhurider@gmail.com>
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.

EC GET breaks sometimes

1 participant