TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

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

Open Sunshow opened this issue 2 months ago • 1 comments

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

Sunshow avatar Oct 22 '25 07:10 Sunshow

可能需要具体远程看下请加微信 a15652223354

yu285 avatar Oct 29 '25 15:10 yu285