混布的场景下 tiflash 启动失败, 处于offline 状态无法启动

192.168.255.119:9003 tiflash 192.168.255.119 9003/8124/3931/20171/20293/8235

端口没问题啊

这边提示信息是:
tiflash_tikv.log:[2023/09/18 20:23:39.420 +08:00] [FATAL] [run.rs:1297] [“failed to start node: Other("[components/pd_client/src/util.rs:878]: duplicated store address: id:1720318481 address:\"192.168.255.119:3931\" labels:<key:\"engine\" value:\"tiflash\" > version:\"v6.5.3\" peer_address:\"192.168.255.119:20171\" status_address:\"192.168.255.119:20293\" git_hash:\"e63e24991079fff1e5afe03e859f743cbb6cf4a7\" start_timestamp:1695039819 deploy_path:\"/deploy/tidb/tiflash-9003/bin/tiflash\" , already registered by id:91 address:\"192.168.255.119:3931\" state:Offline labels:<key:\"engine\" value:\"tiflash\" > version:\"v6.5.3\" peer_address:\"192.168.255.119:20171\" status_address:\"192.168.255.119:20293\" git_hash:\"e63e24991079fff1e5afe03e859f743cbb6cf4a7\" start_timestamp:1694990902 deploy_path:\"/deploy/tidb/tiflash-9001/bin/tiflash\" last_heartbeat:1695016186000543038 node_state:Removing ")”]
tiflash_tikv.log:[2023/09/18 20:24:01.643 +08:00] [WARN] [config.rs:271] [“Memory allocator nodump is not supported, continue with default allocator”]
tiflash_tikv.log:[2023/09/18 20:24:01.819 +08:00] [FATAL] [run.rs:1297] [“failed to start node: Other("[components/pd_client/src/util.rs:878]: duplicated store address: id:1720318481 address:\"192.168.255.119:3931\" labels:<key:\"engine\" value:\"tiflash\" > version:\"v6.5.3\" peer_address:\"192.168.255.119:20171\" status_address:\"192.168.255.119:20293\" git_hash:\"e63e24991079fff1e5afe03e859f743cbb6cf4a7\" start_timestamp:1695039841 deploy_path:\"/deploy/tidb/tiflash-9003/bin/tiflash\" , already registered by id:91 address:\"192.168.255.119:3931\" state:Offline labels:<key:\"engine\" value:\"tiflash\" > version:\"v6.5.3\" peer_address:\"192.168.255.119:20171\" status_address:\"192.168.255.119:20293\" git_hash:\"e63e24991079fff1e5afe03e859f743cbb6cf4a7\" start_timestamp:1694990902 deploy_path:\"/deploy/tidb/tiflash-9001/bin/tiflash\" last_heartbeat:1695016186000543038 node_state:Removing ")”]
tiflash_tikv.log:[2023/09/18 20:24:24.147 +08:00] [WARN] [config.rs:271] [“Memory allocator nodump is not supported, continue with default allocator”]

昨天晚上 修改了与之前tiflash 完全不一样的端口可以挂上tiflash了.

但是发现tiflash 没有任何同步动作.

你有重新设置tiflash replica么?

scale-in节点后之后,有没有执行prune掉offline的节点?

都设置了. 不管用. 我昨天甚至把数据库设置成了 1

tiup cluster prune xxxxtidb --force 没有提示success 是我哪里操作不对吗

感谢.

昨天晚上 修改了与之前tiflash 完全不一样的端口可以挂上tiflash了.
–》 应该是 dba-kit 老师说的: “你混部的场景是把TiFlash和谁混部了啊,看下是不是端口冲突了。找了下TiFlash的端口还是挺多的” 之类的问题, 或者进程没清理干净.

但是发现tiflash 没有任何同步动作.
–》 这个在 tiflash 进程状态正常, 且设置 tiflash 副本后, 还没有进度,
–》 就需要重新看 tiflash 最近产生的日志了

tiup cluster prune xxxxtidb --force
–》 不要用, --force, force 是忽略一切
–》 可能会出现, 进程没停掉, 目录直接删了之类的情况, 一般用完 force 通常都要手动去检查一下(日志, 目录, tiup 日志…)

重新构建后, 有参考 构建 TiFlash 副本 | PingCAP 文档中心 看进度吧, 以及加速之类的吧.

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。