sn: return first found EC part when part index is missing#4033
Merged
Conversation
carpawell
force-pushed
the
feat/EC-index-only-GET
branch
from
July 2, 2026 18:26
faa9e8d to
a72d262
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #4033 +/- ##
==========================================
+ Coverage 26.18% 26.24% +0.06%
==========================================
Files 673 673
Lines 45818 45946 +128
==========================================
+ Hits 11998 12060 +62
- Misses 32693 32755 +62
- Partials 1127 1131 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
carpawell
force-pushed
the
feat/EC-index-only-GET
branch
2 times, most recently
from
July 3, 2026 08:19
4ce8a94 to
f9cf029
Compare
roman-khimov
reviewed
Jul 3, 2026
carpawell
force-pushed
the
feat/EC-index-only-GET
branch
2 times, most recently
from
July 6, 2026 14:08
69a28ba to
c82b984
Compare
carpawell
marked this pull request as ready for review
July 6, 2026 14:08
Member
|
CHANGELOG |
If X-Headers do not include EC part ID, SN fills it with an ID that it should store according to current Netmap. It such part cannot be found, it will return first part ID it has locally. This does not relate any form of GETRAGE reques, both GET with RANGE and native GETRAGE. This commit implements nspcc-dev/neofs-api#393. Signed-off-by: Pavel Karpy <carpawell@nspcc.io>
Signed-off-by: Pavel Karpy <carpawell@nspcc.io>
carpawell
force-pushed
the
feat/EC-index-only-GET
branch
from
July 7, 2026 13:07
c82b984 to
c7dac28
Compare
Member
Author
|
Rebased, fixed small bug, fixed go.sum. |
roman-khimov
approved these changes
Jul 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation of nspcc-dev/neofs-api#393.
How other nodes should behave is a subject to be discussed.