Skip to content

Initial User Profile should be created transactionally. #10

@zanerock

Description

@zanerock

We really should be created the initial Profile and User in a single transaction. However, while OrientDB has some support for transactions, it's either incomplete or there's a bug somewhere in the chain this common use case. Therefore, the data is currently not created transactionally.

A question has been posted to the OrientDB google group and StackOverflow; to no avail. This, and also another problem where 'begin', 'rollback', and 'commit' seem to have no effect in the console whatsoever. The documentation is also a little confusing and in describing transactions seems to indicate that they aren't supported on remote connections at all, and then goes on to describe their support via optimistic locks.

However, it may end up getting fixed as part of something else and / or it may be a problem in the PHP client as well. We have also not exhausted all possible ideas on our side, so have not opened a bug as of yet.

https://groups.google.com/forum/#!topic/orient-database/lLKOwgvEWY4
http://stackoverflow.com/questions/27790931/how-to-create-a-linked-record-in-a-transaction-with-orientdb-phporient

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions