-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix/relay requests #3014
Conversation
ad67940
to
fb7b9ba
Compare
Codecov ReportAttention: Patch coverage is
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. |
@@ -325,6 +325,7 @@ func (x placementIterator) iterateNodesForObject(obj oid.ID, f func(nodeDesc) er | |||
return | |||
} | |||
}); err != nil { | |||
wg.Done() |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
fb7b9ba
to
05507da
Compare
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check?
There was a problem hiding this comment.
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 <carpawell@nspcc.ru>
05507da
to
0f05dec
Compare
It does not change the seen behavior, but now error logs will be printed. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
If `wg.Add` was called, `wg.Done` must be executed in any way. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
0f05dec
to
3ea9280
Compare
No description provided.