Skip to content

Bug Report: gRPC custom name resolvers don't work with underscores #15721

Closed
@notfelineit

Description

@notfelineit

Overview of the Issue

vtadmin-api fails to connect to vtgate & vtctld if there are underscores (_) in the cluster ID name. I think this is because gRPC doesn't handle custom name resolvers with _.

Reproduction Steps

Modify clustername in vtadmin-up.sh to a name with underscores:

cluster_name="local_test"

vtadmin-api will fail to connect to vtgate and vtctld.

Binary Version

vtadmin version Version: 17.0.0-SNAPSHOT (Git revision e5de85346b7ddcc6d0b69bcbab2dda4e5f661526 branch 'debug-image') built on Fri Apr 12 14:48:12 PDT 2024 by [email protected] using go1.21.9 darwin/amd64

(also present on v18-v20)

Operating System and Environment details

- Operating system: macOS 14.4.1 (23E224)
- Kernel version: Darwin 23.4.0
- Architecture: x86_64

Log Fragments

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions