Hi,

OConcurrentModificationException happens when two clients try to update the
same record at the same time. It's a consequence of MVCC approach for
optimistic transactions (see http://orientdb.com/docs/last/Transactions.html
).
It also happens when you create edges, because also connected vertices have
to be updated.
You can reduce occurrences setting storage property
OGlobalConfiguration.RID_BAG_EMBEDDED_TO_SBTREEBONSAI_THRESHOLD to -1 (or
"ridBag.embeddedToSbtreeBonsaiThreshold" to -1 in the configuration, see
http://orientdb.com/docs/last/SQL-Create-Edge.html)

Thanks

Luigi


2015-09-15 16:30 GMT+02:00 kurtuluş yılmaz <[email protected]>:

> Hi all;
>
> I am getting following error while running in distributed mode.
>
> I tried sync and async replication and get the following error. Is there
> anyone who experienced OConcurrentModificationException error.
>
> Is this exception related to the following subject.
>
> http://orientdb.com/docs/2.1/SQL-Create-Edge.html
>
> Orient db version : 2.1.2 Community edition
>
> Best Regards.
>
>
>
> 2015-09-15 14:26:02:353 FINE  [node2]->[node1] sending back response
> 'com.orientechnologies.orient.core.exception.OConcurrentModificationException:
> Cannot UPDATE the record #13:2543342 because the version is not the latest.
> Probably you are updating an old record or it has been modified by another
> user (db=v1 your=v2)' to request 7979 (tx) [ODistributedWorker]
>
> com.orientechnologies.orient.core.exception.OConcurrentModificationException:
> Cannot UPDATE the record #15:2341900 because the version is not the latest.
> Probably you are updating an old record or it has been modified by another
> user (db=v1 your=v2)
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to