[
https://issues.apache.org/jira/browse/TINKERPOP-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066149#comment-18066149
]
ASF GitHub Bot commented on TINKERPOP-3214:
-------------------------------------------
Cole-Greer commented on PR #3327:
URL: https://github.com/apache/tinkerpop/pull/3327#issuecomment-4069308772
One side effect of this change is that a chain of `addV().property()`
traversals no longer results in vertices with sequential ids. I'm not sure
that's necessarily a deal breaker, but it's a bit disappointing. Thoughts?
```
gremlin> g = TinkerGraph.open().traversal()
==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
gremlin> g.addV("person").property("name", "marko").property("age", 29)
==>v[0]
gremlin> g.addV("person").property("name", "vadas").property("age", 27)
==>v[3]
```
> TinkerGraph VertexProperty Id duplication
> -----------------------------------------
>
> Key: TINKERPOP-3214
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3214
> Project: TinkerPop
> Issue Type: Bug
> Components: tinkergraph
> Affects Versions: 3.7.4
> Reporter: Stephen Mallette
> Priority: Blocker
>
> I assume this i just TinkerGraph. Tested in 3.8.0, but maybe this has been
> around longer?
> {code}
> gremlin> g = TinkerFactory.createAirRoutes().traversal()
> ==>graphtraversalsource[tinkergraph[vertices:3749 edges:57645], standard]
> gremlin> g.V().properties().hasId(0)
> ==>vp[date->2025-10-22 13:56:...]
> gremlin> g.V(4).property('city','newname')
> ==>v[4]
> gremlin> g.V(4).properties('city').id()
> ==>0
> gremlin> g.V().properties().hasId(0)
> ==>vp[date->2025-10-22 13:56:...]
> ==>vp[date->2025-10-22 13:56:...]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)