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/Handle chain notifications via pool #1653

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Fix/Handle chain notifications via pool #1653

merged 1 commit into from
Aug 4, 2022

Conversation

carpawell
Copy link
Member

Related to #1577. Fixes node freezing but does not affect the problem with a call timeout.

@carpawell carpawell added the bug Something isn't working label Aug 3, 2022
@carpawell carpawell self-assigned this Aug 3, 2022
Handling notification in a synchronous manner may lead to a blocking state
if a handler uses neo-go client.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
@carpawell carpawell marked this pull request as ready for review August 3, 2022 16:38
@codecov
Copy link

codecov bot commented Aug 3, 2022

Codecov Report

Merging #1653 (948107f) into master (4558f30) will decrease coverage by 0.04%.
The diff coverage is 22.72%.

❗ Current head 948107f differs from pull request most recent head 6209e1e. Consider uploading reports for the commit 6209e1e to get more accurate results

@@            Coverage Diff             @@
##           master    #1653      +/-   ##
==========================================
- Coverage   33.18%   33.13%   -0.05%     
==========================================
  Files         332      332              
  Lines       22706    22707       +1     
==========================================
- Hits         7536     7525      -11     
- Misses      14552    14564      +12     
  Partials      618      618              
Impacted Files Coverage Δ
pkg/local_object_storage/engine/tree.go 0.00% <0.00%> (ø)
pkg/morph/event/listener.go 0.00% <0.00%> (ø)
pkg/services/object/acl/acl.go 30.23% <0.00%> (ø)
cmd/neofs-node/config/metrics/config.go 100.00% <100.00%> (ø)
cmd/neofs-node/config/profiler/config.go 100.00% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

KirillovDenis
KirillovDenis previously approved these changes Aug 4, 2022
Copy link
Contributor

@KirillovDenis KirillovDenis left a comment

Choose a reason for hiding this comment

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

Couldn't freeze node with this fix

@KirillovDenis
Copy link
Contributor

Fix commit message please

@carpawell carpawell added this to the v0.31.0 milestone Aug 4, 2022
@carpawell
Copy link
Member Author

@KirillovDenis, wrong push. The second commit should be merged via #1656. Fixed.

@cthulhu-rider cthulhu-rider merged commit 1c1b504 into nspcc-dev:master Aug 4, 2022
@carpawell carpawell deleted the fix/listen-events-via-pool branch August 4, 2022 13:07
@alexchetaev alexchetaev added the U3 Regular label Aug 23, 2022
aprasolova pushed a commit to aprasolova/neofs-node that referenced this pull request Oct 19, 2022
Handling notification in a synchronous manner may lead to a blocking state
if a handler uses neo-go client.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working U3 Regular
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants