Skip to content

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

@Sunshow

Description

@Sunshow

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions