JanusGraph / JanusGraph/janusgraph
partitioned vertex labels different ids in edges
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
I created a partitioned vertex label and added 2 vertices. Then I connected them with 2 edges.
This is what I got
> gremlin> g.V()
> ==>v[4226]
> ==>v[8202]
> gremlin> g.E()
> ==>e[ody54-38q-1lh-6ei][4202-follows->8298]
> ==>e[eb-6fu-1lh-3a2][8346-follows->4250]
As you can see the in and out vertex ids for edges are different from the original vertex ids.
Is this the supposed behavior? Can this be added to the docs?
Also are partitioned vertex labels stable enough to use in production?
Contributor guide
Research direction
Start with the partitioned vertex-label behavior shown by the Gremlin g.V() and g.E() queries, and review the existing JanusGraph documentation for partitioned vertex labels. Document whether the differing edge endpoint IDs are expected and address the question about production stability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100