Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 求助:playground_attach_4001 启动报错
start arguments: playground_attach_4001 – --path=127.0.0.1:2379 --store=tikv --status=10081 -P 4001
error:
[2022/10/26 16:36:05.970 +08:00] [WARN] [base_client.go:252] [“[pd] failed to get cluster id”] [url=http://127.0.0.1:2379] [error=“[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused” target:127.0.0.1:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused” target:127.0.0.1:2379 status:TRANSIENT_FAILURE”]
Check if the port is being occupied.
Hello, using lsof -i:2379
, I checked that it is not being used;
Starting with the default 4000 works directly, but it doesn’t work when I change the parameters and start it again.
The playground is just a trial version with limited functionality.
If you need to change some parameters, it’s better to install a cluster version for a better experience.
I am already using it officially and am interested in the source code, so I want to take a look;
Write and run unit tests - TiDB Development Guide This document is a bit outdated;
I plan to first look at 【源码类学习资源大放送】TiDB、TiKV、TiFlash、Chaos Mesh 等源码解读补给站 - TiDB 的问答社区
Do you have any good suggestions?
Directly go here and systematically learn the knowledge. It’s better than figuring it out on your own.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.