compact删除生效数据

  • nebula 版本:3.0.1

  • 部署方式: 分布式

  • 安装方式:源码编译

  • 是否上生产环境:Y

  • 问题的具体描述:
    实体边关系导入完成后,在自动触发compact任务后大部分边被删除,再次手动触发compact边会持续减少,多次触发会减少到一个很小的数量之后停止减少。

  • 相关边定义:

  • 相关storage日志:

I20230412 10:04:25.090584 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version -1
I20230412 10:04:25.090588 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version 1
E20230412 10:04:25.090592 1939777 MetaClient.cpp:2098] The edge schema 222 not found in space 116
I20230412 10:04:25.090601 1939777 CompactionFilter.h:85] Remove the bad format edge!
I20230412 10:04:25.090606 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version -1
I20230412 10:04:25.090610 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version 1
E20230412 10:04:25.090615 1939777 MetaClient.cpp:2098] The edge schema 222 not found in space 116
I20230412 10:04:25.090632 1939777 CompactionFilter.h:85] Remove the bad format edge!
I20230412 10:04:25.090637 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version -1
I20230412 10:04:25.090642 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version 1
E20230412 10:04:25.090646 1939777 MetaClient.cpp:2098] The edge schema 222 not found in space 116
I20230412 10:04:25.090656 1939777 CompactionFilter.h:85] Remove the bad format edge!
I20230412 10:04:25.090662 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version -1
I20230412 10:04:25.090665 1939777 ServerBasedSchemaManager.cpp:68] Get Edge Schema Space 116, EdgeType 222, Version 1
E20230412 10:04:25.090670 1939777 MetaClient.cpp:2098] The edge schema 222 not found in space 116
I20230412 10:04:25.090679 1939777 CompactionFilter.h:85] Remove the bad format edge!

你这是Meta中的Schema已经失效了,compaction的时候会删除没有对应Schema的数据

我说了这是生效数据,schema也是正常的不知道为啥会判定为失效。问题是必现,重启或者重建边schema都没用

请问数据是怎么导入的呢?是否修改过schema?

另外,新建个space,导入相同的数据,是否会有问题呢?

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。