Skip to content

node/grpc: Return to passthrough address resolution scheme #3334

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

cthulhu-rider
Copy link
Contributor

@cthulhu-rider cthulhu-rider commented Apr 30, 2025

Copy link

codecov bot commented Apr 30, 2025

Codecov Report

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

Project coverage is 21.17%. Comparing base (327a6f2) to head (972bdc0).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-node/grpc.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3334      +/-   ##
==========================================
- Coverage   21.17%   21.17%   -0.01%     
==========================================
  Files         718      718              
  Lines       53119    53122       +3     
==========================================
  Hits        11246    11246              
- Misses      41079    41083       +4     
+ Partials      794      793       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cthulhu-rider cthulhu-rider force-pushed the deadlines branch 8 times, most recently from c9d57e6 to d25de6b Compare May 12, 2025 11:17
@cthulhu-rider cthulhu-rider force-pushed the deadlines branch 15 times, most recently from 55d1660 to a2426f9 Compare May 14, 2025 10:20
@cthulhu-rider cthulhu-rider changed the title Debug macOS deadlines node/grpc: Return to passthrough address resolution scheme May 14, 2025
979811e switched SN-to-SN gRPC dial
approach from 'passthrough' resolution scheme (used by `grpc.Dial*`
functions) to the `dns` one (`grpc.NewClient`). This was not
intentional, but it did cause visible changes in behavior. The DNS
resolver began to introduce time costs into processing. This became
especially noticeable on the test macOS env, where delays reached 10s
causing tests to fall on deadline. On Linux, delays also increased, but
by negligible amounts.

This returns SN to using global 'passthrough' resolver.

Fixes #3250.

Signed-off-by: Leonard Lyubich <[email protected]>
@roman-khimov roman-khimov merged commit f2d03ff into master May 14, 2025
16 of 18 checks passed
@roman-khimov roman-khimov deleted the deadlines branch May 14, 2025 12:10
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.

2 participants