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

Fix/relay requests #3014

Merged
merged 3 commits into from
Nov 14, 2024
Merged

Fix/relay requests #3014

merged 3 commits into from
Nov 14, 2024

Conversation

carpawell
Copy link
Member

No description provided.

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

Attention: Patch coverage is 5.55556% with 17 lines in your changes missing coverage. Please review.

Project coverage is 22.83%. Comparing base (b7714ae) to head (3ea9280).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/put/v2/streamer.go 0.00% 9 Missing ⚠️
pkg/services/object/search/v2/util.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3014      +/-   ##
==========================================
- Coverage   22.84%   22.83%   -0.01%     
==========================================
  Files         790      790              
  Lines       58344    58362      +18     
==========================================
+ Hits        13328    13329       +1     
- Misses      44136    44153      +17     
  Partials      880      880              

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

@@ -325,6 +325,7 @@ func (x placementIterator) iterateNodesForObject(obj oid.ID, f func(nodeDesc) er
return
}
}); err != nil {
wg.Done()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit different (and incomplete) story.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, just did not want two PRs after the same debug session in fact

CHANGELOG.md Outdated Show resolved Hide resolved
@roman-khimov roman-khimov added this to the v0.44.0 milestone Nov 13, 2024
CHANGELOG.md Outdated
@@ -29,6 +29,7 @@ attribute, which is used for container domain name in NNS contracts (#2954)
- RPC client reconnection failures leading to complete SN failure (#2797)
- `meta.DB.Open(readOnly)` moves metabase in RO mode (#3000)
- Panic in event listener related to inability to switch RPC node (#2970)
- Non-container nodes never checks placement policy on PUT requests (#3014)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, how many devs are required to write this word right

It was not possible to read an error from a node that answers with status codes,
not with a gRPC error, so relay nodes always PUT objects without errors.

Signed-off-by: Pavel Karpy <[email protected]>
It does not change the seen behavior, but now error logs will be printed.

Signed-off-by: Pavel Karpy <[email protected]>
If `wg.Add` was called, `wg.Done` must be executed in any way.

Signed-off-by: Pavel Karpy <[email protected]>
@roman-khimov roman-khimov merged commit 31fa3b4 into master Nov 14, 2024
20 of 22 checks passed
@roman-khimov roman-khimov deleted the fix/relay-requests branch November 14, 2024 15:20
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