Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node/object: Fix Put op condition checking requests with copies number #3042

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

cthulhu-rider
Copy link
Contributor

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 22.63%. Comparing base (f831c75) to head (8dd6a65).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/put/streamer.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3042   +/-   ##
=======================================
  Coverage   22.63%   22.63%           
=======================================
  Files         791      791           
  Lines       58616    58615    -1     
=======================================
  Hits        13265    13265           
+ Misses      44453    44452    -1     
  Partials      898      898           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Regression from 5076fe2.

Previously, the operation always failed on in-container nodes for
requests with specified number of copies. Actually, it must fail
requests with TTL=1 regardless of container composition.

Signed-off-by: Leonard Lyubich <[email protected]>
Although such option setting is redundant, there is no reason to deny
service of these requests.

Signed-off-by: Leonard Lyubich <[email protected]>
@carpawell carpawell merged commit 2d77475 into master Dec 6, 2024
21 of 22 checks passed
@carpawell carpawell deleted the bugfix/object-put-copies branch December 6, 2024 02: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.

3 participants