Skip to content

More Incomplete put fixes#3684

Merged
cthulhu-rider merged 3 commits intomasterfrom
incomplete-put-fixes
Nov 20, 2025
Merged

More Incomplete put fixes#3684
cthulhu-rider merged 3 commits intomasterfrom
incomplete-put-fixes

Conversation

@roman-khimov
Copy link
Member

No description provided.

Fix "Error: rpc error: finish object stream: missing ID field in the response".

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It didn't happen and the error is final for this particular node,
errIncomplete makes no sense here. This didn't matter much before Incomplete
became a separate status, but now 0/1 is not the combo where it can be
expected.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It's just an attribute in its essense and it is already known for unsealed
objects. Absent this check a node can save some object locally even if it's
expired if slicing is performed on the same node which subsequently leads to
test_put_of_already_expired_object reporting this:

    Error: rpc error: finish object stream: status: code = 1 message = incomplete object PUT by placement: number of replicas cannot be met for list #0: 1 required, 0 nodes remaining (last node error: could not close object stream: replicate object to remote node (key=03abb3c3361f840477b1e80e2c55278b05067d1c7e362a6f30def3400bde6c5e9a): /dns4/localhost/tcp/41859: status: code = 1024 message = failed to verify and store object locally: validate object format: object did not pass expiration check: object has expired: attribute: 21, current: 22)

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.34%. Comparing base (75596fc) to head (bf897b5).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/server.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3684      +/-   ##
==========================================
- Coverage   27.34%   27.34%   -0.01%     
==========================================
  Files         658      658              
  Lines       41712    41713       +1     
==========================================
- Hits        11407    11406       -1     
- Misses      29244    29245       +1     
- Partials     1061     1062       +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.

@cthulhu-rider cthulhu-rider merged commit da778da into master Nov 20, 2025
22 checks passed
@cthulhu-rider cthulhu-rider deleted the incomplete-put-fixes branch November 20, 2025 09:50
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