apache / apache/hugegraph-toolchain

[Bug] 使用 hugegraph-tool 备份全部图数据库时导出的edges数量为0

Open
#307 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
121
Forks
125
Avg merge
10d 10h
Merged PRs (30d)
3

Description

### Bug Type (问题类型)

logic (逻辑设计问题)

### Before submit

- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题

### Environment (环境信息)

- hugegraph-0.10.4
- hugegraph-tools-1.4.0
- OS: xx CPUs, xx G RAM, Centos 7.x
- Data Size: xx vertices, xx edges

### Expected & Actual behavior (期望与实际表现)

使用rest api查询edges的时候能查到存在边的数据, 而在使用hugegraph-tool进行数据备份的时候发现edges备份数量是0

![api](https://user-images.githubusercontent.com/22142643/178953190-3f574845-4a8b-4ca7-8cfb-c03fcbe4d819.png)
![back](https://user-images.githubusercontent.com/22142643/178953212-7c09c1de-2726-401e-80b2-2c21d87601ca.png)

### Vertex/Edge example (问题点 / 边数据举例)

_No response_

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the backup with hugegraph-tool 1.4.0 against HugeGraph 0.10.4, comparing the REST API edge count with the exported backup. Trace the backup flow and its edge-querying entry point; done means the backup contains the existing edges and its count matches the source database.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.