The version is :

OrientDB console v.2.0.12 (build UNKNOWN@r; 2015-07-01 11:28:05+0000) 
www.orientechnologies.com
Type 'help' to display all the supported commands.
Installing extensions for GREMLIN language v.2.6.0

Attached the orientdb-server-config.xml

I am updating the vertex using:

 com.webnms.rca.graphdb.api.GraphDBAPI.updateVertex(OrientBaseGraph graph, 
Map<String, Object> propertyMap, String className)

and then commiting the OrientBaseGraph using:

OrientBaseGraph.commit();

Please advise.






On Wednesday, December 21, 2016 at 6:56:09 PM UTC+5:30, Oleksandr Gubchenko 
wrote:
>
> What version are you on? What is you configuration? What operation are you 
> performing?
>
> Thanks.
>
> Il giorno mercoledì 21 dicembre 2016 11:36:39 UTC+1, Barath Kumar ha 
> scritto:
>>
>> While calling OrientBaseGraph.commit(), getting the below exception.
>>
>> 1. How to fix this exception.
>> 2. Will the data be committed successfully when the below exception is got
>>
>> Please advise
>>
>> [21 Dec 2016 07:43:08:023] RCAERR:
>> com.orientechnologies.orient.server.distributed.ODistributedException: 
>> Error on executing distributed request (id=17033336 from=elektra task=tx 
>> userName=) against database 'webnmsdb.[managedobject, default]' to nodes 
>> [natchios, elektra]
>>         at 
>> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:195)
>>         at 
>> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:354)
>>         at 
>> com.orientechnologies.orient.server.distributed.ODistributedStorage.commit(ODistributedStorage.java:914)
>>         at 
>> com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)
>>         at 
>> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)
>>         at 
>> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2433)
>>         at 
>> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2403)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1092)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:394)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:217)
>>         at 
>> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)
>> Caused by: 
>> com.orientechnologies.orient.server.distributed.ODistributedException: 
>> Quorum 2 not reached for request (id=17033336 from=elektra task=tx 
>> userName=). Elapsed=10ms Servers in timeout/conflict are:
>>  - natchios: [#20:1670803 v.460261, #22:247038 v.87321, 2030]
>> Received: {natchios=[#20:1670803 v.460261, #22:247038 v.87321, 2030], 
>> elektra=[#20:1807065 v.625279, #22:688321 v.169774, 2030]}
>>         at 
>> com.orientechnologies.orient.server.distributed.ODistributedResponseManager.manageConflicts(ODistributedResponseManager.java:585)
>>         at 
>> com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:349)
>>         at 
>> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.waitForResponse(OHazelcastDistributedDatabase.java:358)
>>         at 
>> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:192)
>>         ... 10 more
>> [21 Dec 2016 07:43:08:182] RCAERR: Exception while committing graph at:
>> [21 Dec 2016 07:43:08:182] RCAERR:
>> com.orientechnologies.orient.server.distributed.ODistributedException: 
>> Error on executing distributed request (id=17033340 from=elektra task=tx 
>> userName=) against database 'webnmsdb.[managedobject, default]' to nodes 
>> [natchios, elektra]
>>         at 
>> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:195)
>>         at 
>> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:354)
>>         at 
>> com.orientechnologies.orient.server.distributed.ODistributedStorage.commit(ODistributedStorage.java:914)
>>         at 
>> com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)
>>         at 
>> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)
>>         at 
>> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2433)
>>         at 
>> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2403)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1092)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:394)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:217)
>>         at 
>> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)
>> Caused by: 
>> com.orientechnologies.orient.server.distributed.ODistributedException: 
>> Quorum 2 not reached for request (id=17033340 from=elektra task=tx 
>> userName=). Elapsed=7ms Servers in timeout/conflict are:
>>
>>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: orientdb-server-config.xml
Description: XML document

Reply via email to