Skip to content

tiflash cannot connect to pd using ipv6 #5247

@jebter

Description

@jebter

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Start a tidb cluster with ipv6
1、pd-server -data-dir=pdata -client-urls="http://[::1]:2379" -peer-urls="http://[::1]:2380"
2、tikv-server --data-dir=pdata --pd="[::1]:2379" --addr="[::1]:20160" --advertise-addr="[::1]:20160" --status-addr="[::1]:20180"
3、tidb-server --path="[::1]:2379" -store=tikv --host="[::1]" -status-host="[::1]" -advertise-address="[::1]"
4、start tiflash with ipv6

2. What did you expect to see? (Required)

tiflash started successfully

3. What did you see instead (Required)

tiflash cannot connect to pd :
[2022/06/28 19:27:25.993 +08:00] [WARN] [] ["pingcap.pd:failed to get cluster id by :http://[::1]:2379/ retrying"] [thread_id=1]
[2022/06/28 19:27:26.996 +08:00] [ERROR] [] ["pingcap.pd:get member failed: 14: failed to connect to all addresses"] [thread_id=1]

4. What is your TiFlash version? (Required)

v6.1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions