Skip to content

Comments

Fix false-negative GET/HEAD/RANGE#3840

Merged
roman-khimov merged 3 commits intomasterfrom
fix-get-false-negative
Feb 21, 2026
Merged

Fix false-negative GET/HEAD/RANGE#3840
roman-khimov merged 3 commits intomasterfrom
fix-get-false-negative

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 25.57%. Comparing base (5ab98cc) to head (6fae0b6).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/get/remote.go 16.66% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3840      +/-   ##
==========================================
- Coverage   25.58%   25.57%   -0.02%     
==========================================
  Files         667      667              
  Lines       42941    42936       -5     
==========================================
- Hits        10988    10979       -9     
- Misses      30949    30952       +3     
- Partials     1004     1005       +1     

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

This part was always incorrect. The problem didn't manifest itself
because the client constructor didn't return network errors. At least
until 4dea9e2: now remote SN info query
is executed, and errors may be returned to it.

This makes server to continue request processing by switching to another
SN to get data from.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Simplify code a bit.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider marked this pull request as ready for review February 20, 2026 17:00
@roman-khimov roman-khimov merged commit 263adda into master Feb 21, 2026
20 of 22 checks passed
@roman-khimov roman-khimov deleted the fix-get-false-negative branch February 21, 2026 14:54
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.

2 participants