Skip to content

Conversation

@roman-khimov
Copy link
Member

Pure draft for tests

1. If any shard returns something like "object is locked" it's final, there is
   no point in continuing iterations.
2. Wrap and return the last error from the method, don't lose it.
3. Simplify putToShard signature, single error is sufficient here.

Signed-off-by: Roman Khimov <[email protected]>
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 70.31250% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.31%. Comparing base (da778da) to head (bafa66b).

Files with missing lines Patch % Lines
pkg/local_object_storage/engine/put.go 57.77% 17 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3688      +/-   ##
==========================================
- Coverage   27.34%   27.31%   -0.04%     
==========================================
  Files         658      658              
  Lines       41713    41649      -64     
==========================================
- Hits        11407    11376      -31     
+ Misses      29246    29215      -31     
+ Partials     1060     1058       -2     

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

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