Cluster Deployment on Single Machine in Version 7.3: Expansion of tikv_servers Failed

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 7.3版本单机部署的集群,扩容tikv_servers失败

| username: TiDBer_j6maE8D6

[TiDB Usage Environment] /Test/ Poc
[TiDB Version] v7.3.0
[Reproduction Path]
[Encountered Problem: Expansion of tikv_servers failed in a single-node deployment cluster of version 7.3
[Resource Configuration]



image

| username: 裤衩儿飞上天 | Original post link

The image you provided is not visible. Please provide the text you need translated.

| username: zhanggame1 | Original post link

There is a bit of a problem with the expansion file. Modify it according to the cluster deployment file.

| username: TiDBer_j6maE8D6 | Original post link

Got it.

| username: Kongdom | Original post link

So what is the issue?

| username: TiDBer_j6maE8D6 | Original post link

It should be that the main configuration file has already configured the paths for deploy_dir and data_dir in global, and the paths are configured again in scale-out.yml. This caused the conflict, right?

| username: zhanggame1 | Original post link

You can write it repeatedly, prioritizing the use of those in TiKV.

| username: Kongdom | Original post link

It shouldn’t be like this. This should be configurable, and it’s just a matter of which one takes effect. You can try to reproduce it; you might accidentally discover a bug.