incubator-hugegraph
incubator-hugegraph copied to clipboard
query vertices with limit but results is incomplete
Expected behavior 期望表现
Query vertices with limit
curl http://localhost:8080/graphs/hugegraph/graph/vertices?limit=3
Expect three complete vertices.
Actual behavior 实际表现
The last vertex missing some properties.
{
"vertices":[
{
"id":"3:lop",
"label":"software",
"type":"vertex",
"properties":{
"price":[
{
"id":"3:lop>price",
"value":328
}
],
"name":[
{
"id":"3:lop>name",
"value":"lop"
}
],
"lang":[
{
"id":"3:lop>lang",
"value":"java"
}
]
}
},
{
"id":"2:josh",
"label":"person",
"type":"vertex",
"properties":{
"city":[
{
"id":"2:josh>city",
"value":"Beijing"
}
],
"name":[
{
"id":"2:josh>name",
"value":"josh"
}
],
"age":[
{
"id":"2:josh>age",
"value":32
}
]
}
},
{
"id":"2:marko",
"label":"person",
"type":"vertex",
"properties":{
"name":[
{
"id":"2:marko>name",
"value":"marko"
}
]
}
}
]
}
Specifications of environment 环境信息
- hugegraph version: v0.7.4
- operating system: mac os, 8 CPUs, 16G RAM
- hugegraph backend: rocksdb