taosdata / taosdata/TDengine

taos2.2.2.10 报错Database memory is full ,建不了新表,以及两个vnode同步有问题

Open
#35,443 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

【TDengine 使用环境】
生产环境 /测试/ Poc/预生产环境

【TDengine 版本】2.2.2.10

【操作系统以及版本】CentOS Linux release 7.9.2009 (Core) x86_64 GNU/Linux

【部署方式】容器部署

【集群节点数】1主2从

【集群副本数】3

【描述业务影响】taos2.2.2.10版本,Linux集群,一主两从,mine-arrange库出现了问题,原本有8个vnode,我往里面批量写入数据,加了几百个表,前6个vnode都写满了表,后面2个vnode,vnode75有685个表,vnode76有89张,后来建不了新表了,说是内存已满(实际上并没有),但是其他有一个host3的slave同步一直显示同步中,后来我重启了他也还不行,一直显示同步中,可是网速应该很快的。后来把这个库的集群降到2,又降到1,然后增加到3,这个时候两个vnode没有master了(数据库不能正常查询),降到2又有了(可以查询),降到1时候也没事,但是也写不进表。这是什么原因,怎么办。

【问题复现路径/shan】补充一下 最开始时候还发现.head文件损坏

【遇到的问题:问题现象及影响】

【资源配置】

【报错完整截图】1.当时建表写数据的日志

Image

2.目前的状态

Image

3.AI分析的当前问题

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.

Research direction

Begin with the reported TDengine 2.2.2.10 environment: CentOS 7.9 in containers, one master and two replicas, and the supplied creation logs and current-state screenshots. Investigate the “Database memory is full” failure, vnode synchronization state, and reported .head corruption. Done means identifying the cause and documenting a safe correction for table creation and vnode availability.

Written by the indexing model from the issue text.

Assessment

Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.