Hi all,

You'll find attached to this post the full stack trace that we obtain while 
we are updating a Vertex in client/server mode, from a single-threaded 
client and no concurrent use of the DB (v2.1.10). DB engine transactions 
are turned on.

Here is just the final exception trace that we got :

Caused by: 
com.orientechnologies.orient.core.exception.OConcurrentModificationException: 
Cannot UPDATE the record #20:0 because the version is not the latest. 
Probably you are updating an old record or it has been modified by another 
user (db=v12 your=v10)
    at 
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:55)
    at 
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:42)
    at 
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2394)
    ...

On our side, we guess that it might be a "reload" problem in the client 
cache. However, we expected not to have such an exception in our very 
simple use case.

-- 

--- 
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.
fr.cnes.isis.fds.bundle.contextdal.ContextDalException: Unable to save element 
in context
        at 
fr.cnes.isis.internal.fds.bundle.contextdal.ContextDAL.saveElementInContext(ContextDAL.java:1746)
        at 
fr.cnes.isis.internal.fds.bundle.contextdal.ContextDAL.saveElementsInContext(ContextDAL.java:1853)
        at 
fr.cnes.isis.internal.fds.bundle.entitymanagerimpl.services.impl.EntityManagerControllerImpl.validateApplication(EntityManagerControllerImpl.java:368)
        at 
fr.cnes.isis.internal.fds.bundle.entitymanagerimpl.services.impl.handlers.process.ProcessValidateRequestMessageHandler.processMessage(ProcessValidateRequestMessageHandler.java:104)
        at 
fr.cnes.isis.gpfd.fds.rpc.layer.impl.handlers.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:43)
        at 
fr.cnes.isis.internal.fds.bundle.entitymanagerimpl.services.impl.handlers.ProcessMessagesHandler.handleMessage(ProcessMessagesHandler.java:165)
        at 
fr.cnes.isis.internal.gpfd.fds.rpc.layer.impl.services.handlers.FdsMessageHandlerManager.handleRequestMessage(FdsMessageHandlerManager.java:139)
        at 
fr.cnes.isis.gpfd.fds.rpc.layer.rpc.ProviderRPC.interpret(ProviderRPC.java:90)
        at 
fr.cnes.isis.internal.fds.bundle.zmqcontrollerimpl.sockets.ResponseSocket.doWork(ResponseSocket.java:179)
        at 
fr.cnes.isis.internal.fds.bundle.zmqcontrollerimpl.sockets.ResponseSocket$1.run(ResponseSocket.java:107)
        at java.lang.Thread.run(Thread.java:722)
Caused by: fr.cnes.isis.gpfd.storagemanager.FdsStorageManagerException: Unable 
to fill FDS Object'v(SiriusData)[#20:0]'
        at 
fr.cnes.isis.internal.gpdsfc_d_exe.storagemanager.impl.orient.FdsOrientStorageManager.fillFdsObject(FdsOrientStorageManager.java:2506)
        at 
fr.cnes.isis.internal.fds.bundle.contextdal.mapper.siriusdata.SiriusDataOnVertexMapper.toGraphDB(SiriusDataOnVertexMapper.java:320)
        at 
fr.cnes.isis.internal.fds.bundle.contextdal.ContextDAL.saveSiriusDataElementInContext(ContextDAL.java:966)
        at 
fr.cnes.isis.internal.fds.bundle.contextdal.ContextDAL.saveElementInContext(ContextDAL.java:1728)
        ... 10 more
Caused by: 
com.orientechnologies.orient.core.exception.OConcurrentModificationException: 
Cannot UPDATE the record #20:0 because the version is not the latest. Probably 
you are updating an old record or it has been modified by another user (db=v12 
your=v10)
        at 
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:55)
        at 
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:42)
        at 
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2394)
        at 
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:2026)
        at 
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:2477)
        at 
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1206)
        at 
com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:606)
        at 
com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:156)
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2689)
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2658)
        at 
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1225)
        at 
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:404)
        at 
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:223)
        at 
com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)

Reply via email to