1 comment (1 comment)0 reactions (0 reactions)0 assignees (0 assignees)C24,849 stars (24,849 stars)5,002 forks (5,002 forks)batch import
help wantedquestion
Description
1、问题描述 (1)未扩容前
已有集群节点数为3,3mnode3副本,当前扩容新增了节点4,发现数据都能成功同步到新节点,但查询节点列表,显示节点4的vnode数量为0,是否正常?
Contributor guide
- Tech stack
- csql
- Domain
- databasebackend
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 4
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 3-5 days
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- needs maintainer response
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- needs investigation
- Prerequisites
- Basic understanding of distributed databasesFamiliarity with TDengine cluster operations
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 20
- Research direction
- Investigate whether a new node should have non zero vnodes after expansion. Check the TDengine source code in the dnode or vnode modules for vnode allocation logic during node addition. Compare the behavior with existing nodes. Look for any configuration or condition that might result in 0 vnodes. Consider reviewing the cluster documentation or asking the reporter for more details like logs or the output of cluster status commands.