我对 Neo4j 转储文件执行了一致性检查,该文件是从 Neo4j 数据库(5.8.0 版本)生成的。我运行了命令:
sudo neo4j-admin database check --from-path=./ neo4j
检查报告,有这样的错误:
...
ERROR Index inconsistency: Index has a leaked page that will never be reclaimed, pageId=208.
Index will be excluded from further consistency checks. Index file: /data1/dumps2/4459558985020293571/neo4j/schema/index/range-1.0/75/index-75.
ERROR Index inconsistency: Index has a leaked page that will never be reclaimed, pageId=247.
Index will be excluded from further consistency checks. Index file: /data1/dumps2/4459558985020293571/neo4j/schema/index/range-1.0/75/index-75.
...
如何解决不一致错误?
我搜索过信息,但在谷歌上几乎没有结果。我希望解决不一致问题,然后将转储上传到 Neo4j 的 AuraDB 远程数据库中。
一致性错误指向 RANGE 索引
Index will be excluded from further consistency checks. Index file: /data1/dumps2/4459558985020293571/neo4j/schema/index/range-1.0/75/index-75.
SHOW RANGE INDEXES
查看所有 RANGE 索引