apache / apache/hugegraph-toolchain

[Bug] backup error of 1.5.0 version

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

Description

### Bug Type (问题类型)

None

### Before submit

- [x] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/issues) and found no similar issues.

### Environment (环境信息)

- Server Version: v1.5.0
- Toolchain Version: v1.5.0
- Data Size: xx vertices, xx edges

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

server version:1.5.0
client version:1.5.0

when using backup, you can get the error that is "Failed to execute Unrecognized field "edgelabel_type" (class org.apache.hugegraph.structure.schema.EdgeLabel), not marked as ignorable (15 known properties: "check_exist", "target_label", "name", "index_labels", "source_label", "status", "properties", "sort_keys", "id", "frequency", "ttl_start_time", "user_data", "enable_label_index", "ttl", "nullable_keys"])"

The sentence of backup is
"${HUGEGRAPH_TOOL_BIN}" --url "${GRAPH_URL}" --graph "${GRAPH_NAME}" \
backup -t "vertex,vertex_label,edge_label,property_key,index_label" --compress false \
--directory "${LOCAL_BACKUP_DIR}" -l "${LOG_FILE}"
"

who can help me!!!

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

```javascript

```

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

```javascript

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the backup entry point using the shown command and reproduce the failure against server and client version 1.5.0. Trace how the EdgeLabel schema is serialized and read around the unrecognized "edgelabel_type" field. Done means the backup completes without this deserialization error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.