taosdata / taosdata/TDengine

local client with docker cluster, running taos.exe in powershell returns DB error: Vnode is closed or removed

Open
#22,097 9 comments 0 reactions 1 assignee View on GitHub

@yu285 is already working on this.

Since Sep 17, 2025.

help wanted question
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

前几个小时,用远程服务器的docker启动一个TD集群,然后在本地PC客户端,修改taos.cfg的firstEp为firstEp 为td1:6030,并修改hosts中td1指向远程服务器。 在此刻,本地taos.exe可以正常启动,并且select表的数据。 之后用drop dnode删除了节点。此时都还是正常的。

然后重新安装PC的客户端,并且重新用docker启动新的集群,并依旧修改hosts,及firstEp 为td1:6030

docker run -itd --name td11 --network test -e TAOS_FQDN=td11 -e TAOS_FIRST_EP=td11 -p 6030:6030 -p 6041:6041 tdengine/tdengine
docker run -itd --name td12 --network test -e TAOS_FQDN=td12 -e TAOS_FIRST_EP=td11 -p 6031:6030 -p 6042:6041 tdengine/tdengine
docker run -itd --name td13 --network test -e TAOS_FQDN=td13 -e TAOS_FIRST_EP=td11 -p 6032:6030 -p 6043:6041 tdengine/tdengine
docker run -itd --name td14 --network test -e TAOS_FQDN=td14 -e TAOS_FIRST_EP=td11 -p 6033:6030 -p 6044:6041 tdengine/tdengine

此时powershell 启动taos.exe 发现show databases ,show dnodes等能正常,但是查自建的表就显示 Vnode is closed or removed, 请问这个是什么原因导致的。实在是不知道哪里配置错误了
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.