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/NPE panic on tree services connection close #2335

Merged
merged 1 commit into from
May 12, 2023

Conversation

notimetoname
Copy link
Contributor

Error can appear during new connection establishing and the nil connection is stored in LRU cache. Not try to close such connections.

@notimetoname notimetoname added the bug Something isn't working label May 11, 2023
@notimetoname notimetoname self-assigned this May 11, 2023
@roman-khimov roman-khimov added this to the v0.37.0 milestone May 11, 2023
@roman-khimov
Copy link
Member

Changelog, please.

@codecov
Copy link

codecov bot commented May 11, 2023

Codecov Report

Merging #2335 (72ac4be) into master (e1b1c7c) will not change coverage.
The diff coverage is 0.00%.

❗ Current head 72ac4be differs from pull request most recent head 52392c6. Consider uploading reports for the commit 52392c6 to get more accurate results

@@           Coverage Diff           @@
##           master    #2335   +/-   ##
=======================================
  Coverage   30.00%   30.00%           
=======================================
  Files         400      400           
  Lines       30160    30160           
=======================================
  Hits         9048     9048           
  Misses      20373    20373           
  Partials      739      739           
Impacted Files Coverage Δ
pkg/services/tree/cache.go 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Error can appear during new connection establishing and the `nil` connection
is stored in LRU cache. Not try to close such connections.

Signed-off-by: Pavel Karpy <carpawell@morphbits.io>
@notimetoname notimetoname added the neofs-storage Storage node application issues label May 11, 2023
@cthulhu-rider cthulhu-rider merged commit 0e3fe05 into nspcc-dev:master May 12, 2023
@notimetoname notimetoname deleted the fix/tree-svc-panic branch May 12, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working neofs-storage Storage node application issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants