apache / apache/hugegraph

[Bug] can't delete index after reboot server

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

Description

### Bug Type (问题类型)

other exception / error (其他异常报错)

### 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.0.0
- Backend: HBase
-centos7
- Data Size: 10W vertices, 10w edges

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

复现方式:集群下任意创建一些顶点类型,然后添加一些索引,任意添加一些顶点数据进去,删除不掉索引(边也会有类似的情况)。

问题:集群模式下删除索引 不成功,重启服务端集群之后,删除的索引不见了,hubble报错

cause: "org.apache.hugegraph.HugeException: Can't write json: Undefined index label with id: '27' (through reference chain: java.util.Arrayist[2])"
https://user-images.githubusercontent.com/26705277/224275094-07a12f7e-4327-43cf-9f65-9f9c4f023ad5.jpg

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

_No response_

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

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.