taosdata / taosdata/TDengine

删除超级表再重建同名超级表后,无模式写入数据概率性失败 since Table already exists in other stables

Open
#33,339 1 comment 0 reactions 1 assignee View on GitHub

@yu285 is already working on this.

Since Oct 29, 2025.

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

Description

Bug Description
1、删除超级表
2、创建同名超级表
3、通过超级表无模式写入时,部分数据插入失败(和插入成功的数据行完全一致):metaCheckCreateChildTableReq failed at /mnt/workspace/main/TDinternal/community/source/dnode/vnode/src/meta/metaTable2.c:282 since table t_7084e39cc217477084cb169cb34bf3c5 uid 2798741601832535133 exists in another stable with uid 5104840270750508760 instead of stable with uid 6370008492927969006 version:1262667485
4、手动DROP 子表后故障消失

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Type in '....'
  3. See error

Expected Behavior
按照文档说明,删除超级表应当删除所有子表,那重新创建之后不应该有这个问题

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
  • Memory, CPU, current Disk Space
  • TDengine Version 3.3.8.1

Additional Context
Docker 部署在 Arm server,3副本集群

tdengine | 10/22 14:21:40.474791 00000689 C VND ERROR vgId:187, failed to process submit request since Table already exists in other stables, lino:2670, version:1261753637
tdengine | 10/22 14:21:41.564335 00000689 C MTA ERROR vgId:187, metaCheckCreateChildTableReq failed at /mnt/workspace/main/TDinternal/community/source/dnode/vnode/src/meta/metaTable2.c:282 since table t_7084e39cc217477084cb169cb34bf3c5 uid 2798741601832535133 exists in another stable with uid 5104840270750508760 instead of stable with uid 6370008492927969006 version:1261753881
tdengine | 10/22 14:21:41.564363 00000689 C MTA ERROR vgId:187, metaCreateChildTable failed at /mnt/workspace/main/TDinternal/community/source/dnode/vnode/src/meta/metaTable2.c:375 since Table already exists in other stables, version:1261753881 name:t_7084e39cc217477084cb169cb34bf3c5
tdengine | 10/22 14:21:41.564369 00000689 C VND ERROR vgId:187, vnodeHandleAutoCreateTable failed at /mnt/workspace/main/TDinternal/community/source/dnode/vnode/src/vnd/vnodeSvr.c:2308 since Table already exists in other stables, version:1261753881
tdengine | 10/22 14:21:41.564373 00000689 C VND ERROR vgId:187, vnodeProcessSubmitReq failed at /mnt/workspace/main/TDinternal/community/source/dnode/vnode/src/vnd/vnodeSvr.c:2669 since Table already exists in other stables, version:1261753881
tdengine | 10/22 14:21:41.564379 00000689 C VND ERROR vgId:187, failed to process submit request since Table already exists in other stables, lino:2670, version:1261753881

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.