[Bug] Incorrect result of gremlin using g.E()
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Bug Type (问题类型)
_No response_
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
### Environment (环境信息)
- Server Version: v0.12.0
- Backend: memory
- OS: database server: wsl ubuntu java api: windows
- Data Size: 300 vertices, 300 edges
Use hugegraph-tools-1.6.0
Unzip data.zip and run command:
```
bin/hugegraph --url http://127.0.0.1:8080 graph-mode-set -m RESTORING
bin/hugegraph --url http://127.0.0.1:8080 restore -t all -d data
```
[data.zip](https://github.com/apache/incubator-hugegraph/files/9380237/data.zip)
### Expected & Actual behavior (期望与实际表现)
To reproduce
```
HugeClient hugeclient = HugeClient.builder("http://localhost:8080", "hugegraph").configTimeout(3000).build();
GremlinManager gremlinManager = hugeclient .gremlin();
String query = "g.E('L623884395844993024>5>>L623884395765301248','L623884395844993024>5>>L623884396000182272','L623884395987599360>5>>L623884394880303104','L623884395987599360>5>>L623884395073241088','L623884395987599360>5>>L623884395660443648','L623884395987599360>5>>L623884395765301248','L623884395987599360>5>>L623884395920490496','L623884395102601216>5>>L623884394750279680','L623884395102601216>5>>L623884395777884160','L623884395102601216>5>>L623884396000182272','L623884395102601216>5>>L623884396088262656','L623884395702386688>4>>L623884394767056896','L623884395702386688>4>>L623884394897080320','L623884395702386688>4>>L623884394980966400','L623884395702386688>4>>L623884395647860736','L623884395702386688>4>>L623884395975016448','L623884394733502464>4>>L623884394980966400','L623884395131961344>4>>L623884394980966400','L623884395169710080>4>>L623884394980966400','L623884395689803776>4>>L623884394980966400','L623884395702386688>4>>L623884394980966400','L623884396126011392>5>>L623884394880303104','L623884396126011392>5>>L623884395765301248','L623884396126011392>5>>L623884395920490496','L623884395752718336>5>>L623884395660443648','L623884395987599360>5>>L623884395660443648','L623884395517837312>4>>L623884394850942976','L623884395517837312>4>>L623884395119378432','L623884395517837312>4>>L623884395647860736','L623884395102601216>5>>L623884396088262656','L623884396197314560>5>>L623884396088262656','L623884395844993024>5>>L623884395765301248','L623884395987599360>5>>L623884395765301248','L623884396126011392>5>>L623884395765301248','L623884396197314560>5>>L623884395765301248','L623884395257790464>7>>L623884395022909440','L623884395257790464>7>>L623884395257790464','L623884395257790464>7>>L623884396016959488','L623884394951606272>7>>L623884395257790464','L623884395257790464>7>>L623884395257790464','L623884395987599360>5>>L623884395073241088','L623884396197314560>5>>L623884395073241088','L623884396071485440>7>>L623884395224236032','L623884396071485440>7>>L623884395425562624','L623884394951606272>7>>L623884396071485440','L623884395463311360>7>>L623884396071485440','L623884395870158848>7>>L623884396071485440','L623884395169710080>4>>L623884394767056896','L623884395169710080>4>>L623884394850942976','L623884395169710080>4>>L623884394980966400','L623884395169710080>4>>L623884395085824000','L623884395169710080>4>>L623884395534614528','L623884395803049984>7>>L623884395463311360','L623884394951606272>7>>L623884395803049984','L623884395224236032>7>>L623884395803049984','L623884395425562624>7>>L623884395803049984','L623884395723358208>4>>L623884395085824000','L623884395723358208>4>>L623884395647860736','L623884395723358208>4>>L623884395975016448','L623884396163760128>7>>L623884395425562624','L623884396163760128>7>>L623884395463311360','L623884395463311360>7>>L623884396163760128','L623884395815632896>7>>L623884396163760128','L623884396197314560>5>>L623884394880303104','L623884396197314560>5>>L623884395073241088','L623884396197314560>5>>L623884395601723392','L623884396197314560>5>>L623884395765301248','L623884396197314560>5>>L623884396088262656','L623884396197314560>5>>L623884396226674688','L623884396058902528>4>>L623884395085824000','L623884395131961344>4>>L623884394767056896','L623884395131961344>4>>L623884394980966400','L623884395278761984>5>>L623884396226674688','L623884395752718336>5>>L623884396226674688','L623884396197314560>5>>L623884396226674688','L623884395169710080>4>>L623884395534614528','L623884394733502464>4>>L623884395647860736','L623884395517837312>4>>L623884395647860736','L623884395689803776>4>>L623884395647860736','L623884395702386688>4>>L623884395647860736','L623884395723358208>4>>L623884395647860736','L623884395673026560>4>>L623884394767056896','L623884395673026560>4>>L623884394897080320','L623884395673026560>4>>L623884395975016448','L623884394951606272>7>>L623884396016959488','L623884395257790464>7>>L623884396016959488','L623884395815632896>7>>L623884394951606272','L623884395815632896>7>>L623884395022909440','L623884395815632896>7>>L623884395463311360','L623884395815632896>7>>L623884396163760128','L623884395589140480>5>>L623884394880303104','L623884395589140480>5>>L623884396000182272','L623884395131961344>4>>L623884394767056896','L623884395169710080>4>>L623884394767056896','L623884395631083520>4>>L623884394767056896','L623884395673026560>4>>L623884394767056896','L623884395702386688>4>>L623884394767056896','L623884394733502464>4>>L623884394980966400','L623884394733502464>4>>L623884395647860736','L623884395169710080>4>>L623884394850942976','L623884395517837312>4>>L623884394850942976','L623884395689803776>4>>L623884394850942976','L623884395987599360>5>>L623884395920490496','L623884396126011392>5>>L623884395920490496','L623884395102601216>5>>L623884395777884160','L623884395102601216>5>>L623884396000182272','L623884395278761984>5>>L623884396000182272','L623884395589140480>5>>L623884396000182272','L623884395844993024>5>>L623884396000182272','L623884395425562624>7>>L623884395803049984','L623884395425562624>7>>L623884396029542400','L623884396071485440>7>>L623884395425562624','L623884396163760128>7>>L623884395425562624','L623884395870158848>7>>L623884395870158848','L623884395870158848>7>>L623884396071485440','L623884395224236032>7>>L623884395870158848','L623884395463311360>7>>L623884395870158848','L623884395870158848>7>>L623884395870158848','L623884395278761984>5>>L623884394750279680','L623884395278761984>5>>L623884395601723392','L623884395278761984>5>>L623884396000182272','L623884395278761984>5>>L623884396226674688','L623884395631083520>4>>L623884394767056896','L623884395735941120>4>>L623884395119378432','L623884395673026560>4>>L623884394897080320','L623884395702386688>4>>L623884394897080320','L623884395752718336>5>>L623884395601723392','L623884395752718336>5>>L623884395660443648','L623884395752718336>5>>L623884396226674688','L623884395463311360>7>>L623884395870158848','L623884395463311360>7>>L623884396071485440','L623884395463311360>7>>L623884396163760128','L623884395803049984>7>>L623884395463311360','L623884395815632896>7>>L623884395463311360','L623884396163760128>7>>L623884395463311360','L623884395169710080>4>>L623884395085824000','L623884395723358208>4>>L623884395085824000','L623884396058902528>4>>L623884395085824000','L623884394951606272>7>>L623884395257790464','L623884394951606272>7>>L623884395803049984','L623884394951606272>7>>L623884396016959488','L623884394951606272>7>>L623884396071485440','L623884395815632896>7>>L623884394951606272','L623884395517837312>4>>L623884395119378432','L623884395735941120>4>>L623884395119378432','L623884396029542400>7>>L623884396029542400','L623884395425562624>7>>L623884396029542400','L623884396029542400>7>>L623884396029542400','L623884395689803776>4>>L623884394850942976','L623884395689803776>4>>L623884394980966400','L623884395689803776>4>>L623884395647860736','L623884395589140480>5>>L623884394880303104','L623884395987599360>5>>L623884394880303104','L623884396126011392>5>>L623884394880303104','L623884396197314560>5>>L623884394880303104','L623884395224236032>7>>L623884395803049984','L623884395224236032>7>>L623884395870158848','L623884396071485440>7>>L623884395224236032','L623884395257790464>7>>L623884395022909440','L623884395815632896>7>>L623884395022909440','L623884395102601216>5>>L623884394750279680','L623884395278761984>5>>L623884394750279680','L623884395673026560>4>>L623884395975016448','L623884395702386688>4>>L623884395975016448','L623884395723358208>4>>L623884395975016448','L623884395278761984>5>>L623884395601723392','L623884395752718336>5>>L623884395601723392','L623884396197314560>5>>L623884395601723392').outV().count()";
ResultSet r1 = gremlinManager.gremlin(query).execute()
```
the actual result was:
```
[84]
```
but the expected result was
```
[168]
```
I noticed that when you add another three ids for example 'L623884396197314560>5>>L623884395601723392' three times at the end of g.E(), the reuslt turns correct
```
[171]
```
### Vertex/Edge example (问题点 / 边数据举例)
_No response_
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.