Disable service config query #1665

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:update-sdk into master 2025-03-07 10:50:33 +00:00
Owner

By default, gRPC fetches TXT report while resolving a domain.
0914bba6c5/internal/resolver/dns/dns_resolver.go (L336)

This leads to a hanging dial if DNS is unavailable, even though the host
may be specified in /etc/hosts (hello, localhost!).

SDK client for the main API uses these options by default.

Refs TrueCloudLab/frostfs-sdk-go#342

By default, gRPC fetches TXT report while resolving a domain. 0914bba6c5/internal/resolver/dns/dns_resolver.go (L336) This leads to a hanging dial if DNS is unavailable, even though the host may be specified in `/etc/hosts` (hello, localhost!). SDK client for the main API uses these options by default. Refs TrueCloudLab/frostfs-sdk-go#342
fyrchik added 2 commits 2025-03-06 12:15:08 +00:00
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
treesvc: Disable service config query
Some checks failed
DCO action / DCO (pull_request) Failing after 34s
Tests and linters / Run gofumpt (pull_request) Successful in 1m5s
Vulncheck / Vulncheck (pull_request) Successful in 1m10s
Build / Build Components (pull_request) Successful in 1m58s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m47s
Tests and linters / Staticcheck (pull_request) Successful in 2m44s
Tests and linters / Tests (pull_request) Successful in 2m45s
Tests and linters / Tests with -race (pull_request) Successful in 3m20s
Tests and linters / Lint (pull_request) Successful in 3m42s
Tests and linters / gopls check (pull_request) Successful in 3m38s
7b2f3c2602
By default, gRPC fetches TXT report while resolving a domain.
0914bba6c5/internal/resolver/dns/dns_resolver.go (L336)

This leads to a hanging dial if DNS is unavailable, even though the host
may be specified in `/etc/hosts` (hello, localhost!).

SDK client for the main API uses these options by default.

Refs TrueCloudLab/frostfs-sdk-go#342

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
requested reviews from storage-core-committers, storage-core-developers 2025-03-06 12:15:09 +00:00
fyrchik added this to the v0.45.0 milestone 2025-03-06 12:15:37 +00:00
fyrchik force-pushed update-sdk from 7b2f3c2602 to 6260d703ce 2025-03-06 12:15:40 +00:00 Compare
dstepanov-yadro approved these changes 2025-03-06 12:20:50 +00:00
requested reviews from storage-core-committers, storage-core-developers 2025-03-06 12:30:23 +00:00
fyrchik merged commit 6260d703ce into master 2025-03-07 10:50:33 +00:00
fyrchik referenced this pull request from a commit 2025-03-07 10:50:35 +00:00
fyrchik deleted branch update-sdk 2025-03-07 10:50:36 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-committers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1665
No description provided.