apache / apache/hugegraph

[Bug] hstore 扩容失败

Open
#2,866 0 comments 0 reactions 0 assignees View on GitHub
bug raft store
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Bug Type (问题类型)

None

### Before submit

- [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

### Environment (环境信息)

- Server Version: 1.5.0 (Apache Release Version)
- Backend: Hstore x nodes, HDD or SSD
- OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
- Data Size: xx vertices, xx edges

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

2025-09-01 19:13:13 [JRaft-RPC-Processor-4] [ERROR] c.a.s.j.s.s.r.CopySession - Fail to copy data, readerId=719484891460989843 fileName=data/000672.sst offset=0 status=Status[ENOENT<1012>: Fail to find reader=719484891460989843]
2025-09-01 19:13:15 [JRaft-RPC-Processor-7] [ERROR] c.a.s.j.s.s.r.CopySession - Fail to copy data, readerId=719484891460989843 fileName=data/000459.sst offset=0 status=Status[ENOENT<1012>: Fail to find reader=719484891460989843]
2025-09-01 19:13:17 [JRaft-RPC-Processor-12] [ERROR] c.a.s.j.s.s.r.CopySession - Fail to copy data, readerId=719484891460989843 fileName=data/006831.sst offset=0 status=Status[ENOENT<1012>: Fail to find reader=719484891460989843]
2025-09-01 19:13:17 [JRaft-Group-Default-Executor-94] [WARN] c.a.s.j.s.s.l.LocalSnapshotStorage - Close snapshot writer /home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00015/snapshot/temp with exit code: 1012.
2025-09-01 19:13:17 [JRaft-Group-Default-Executor-94] [INFO] c.a.s.j.s.s.l.LocalSnapshotStorage - Deleting snapshot /home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00015/snapshot/temp.
2025-09-01 19:13:19 [RAFT-RPC-162] [INFO] c.a.s.j.c.NodeImpl - Node received InstallSnapshotRequest from 10.15.81.52:8510, lastIncludedLogIndex=68940706, lastIncludedLogTerm=3, lastLogId=LogId [index=0, term=0].
2025-09-01 19:13:19 [JRaft-Group-Default-Executor-94] [WARN] c.a.s.j.s.s.l.LocalSnapshotStorage - No data for snapshot reader /home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00015/snapshot.
2025-09-01 19:13:19 [JRaft-Group-Default-Executor-94] [INFO] c.a.s.j.s.s.l.LocalSnapshotCopier - Deleted file: /home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00015/snapshot/temp/data/CURRENT
2025-09-01 19:13:19 [JRaft-Group-Default-Executor-94] [INFO] c.a.s.j.s.s.l.LocalSnapshotCopier - Deleted file: /home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00015/snapshot/temp/data/MANIFEST-006940
2025-09-01 19:13:19 [JRaft-Group-Default-Executor-94] [INFO] c.a.s.j.s.s.l.LocalSnapshotCopier - Deleted file: /home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00015/snapshot/temp/data/OPTIONS-006942

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

```javascript

```

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

```javascript

```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the hstore snapshot-expansion failure through the CopySession, LocalSnapshotStorage, LocalSnapshotCopier, and NodeImpl log entries shown in the report. Reproduce the ENOENT reader failures with the reported 1.5.0 environment and determine why the temporary snapshot is deleted or loses its readers. Done means snapshot installation completes without these errors and the relevant regression is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.