Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

OrientBaseGraph addVertex doesnt update document id with distributed server #1838

Closed
lvca opened this Issue · 7 comments

3 participants

@lvca
Owner

Issue copied from:
orientechnologies/blueprints#10

I'm using orientdb-1.6.0-20131025.164813-147-distribution. When I run the distributed server the OrientBaseGraph.addVertex doesn't update the document id. So it'll be something like "#15:-3".

It looks like the issue is when calling graph.autoStartTransaction().

If I bypass addVertex and just create a new OrientVertex without properties and called save on it, it worked. If I did it with properties it didn't work. So I commented out the graph.autoStartTransaction(); in OrientElement.java setProperties method and it worked.

Right. I create an OGraphDataBase (or acquire from global) and pass that into a new Blueprints OrientGraph. Using this blueprints graph, I call addVertex. The id of the vertex that is returned doesn't have a document id just a cluster id (#15:-1). It also says that the vertex is not persisted and has an internal_status of NOT_LOADED. But it does save the vertex in the DB.

@lvca lvca was assigned
@ruprict

@lvca What is the status of this bug? This, essentially, kills our ability to deploy a distributed server configuration, which is disconcerting. Any chance of getting a hot fix for it?

@enisher enisher was assigned
@lvca lvca was assigned
@lvca
Owner

Started looking into it. The cause could be the same as for: tinkerpop/blueprints#458

@lvca
Owner

Have you already tried with OrientDB 1.6.3 ?

@lvca
Owner

Any news on this?

@ruprict

We plan to today, will keep you posted.

@ruprict

This is still a problem on 1.6.3

@lvca
Owner

I tried basic test cases and works. Can you provide me a test case to reproduce it?

@lvca lvca removed the enhancement label
@lvca lvca closed this
@lvca lvca modified the milestone: 2.0rc1, 1.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.