I have set up two instances of EC2 and am running OrientDB's distributed
server on both.
I am now separately connected to the two instances of OrientDB dserver on
two consoles and am connected to the same database.
When I try to execute an insert query, I get the following error :
Error:
com.orientechnologies.orient.server.distributed.ODistributedException:
Error on executing distributed request (id=0 from=node1434092970000
task=record_create(#9:-1 v.0) userName=admin) against database
'GratefulDeadConcerts.[v]' to nodes []
Error:
com.orientechnologies.orient.server.distributed.ODistributedException:
Quorum 1 not reached for request (id=0 from=node1434092970000
task=record_create(#9:-1 v.0) userName=admin). Elapsed=3023ms No server in
conflict. Received: {node1434092970000=waiting-for-response}
Post this, any changes I make to the database ends in only changing the
database on that particular server and is not reflected on the other
server.
This is the error
com.orientechnologies.orient.server.distributed.ODistributedException:
Error on executing distributed request (id=0 from=node1434092970000
task=record_create(#9:-1 v.0) userName=admin) against database
'GratefulDeadConcerts.[v]' to nodes [node1434092970000]
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.createRecord(ODistributedStorage.java:485)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1745)
at
com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:102)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2306)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:118)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1734)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1725)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:98)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.saveRecord(OCommandExecutorSQLInsert.java:306)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.execute(OCommandExecutorSQLInsert.java:207)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:64)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1194)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1183)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:250)
at
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1179)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:386)
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 1 not reached for request (id=0 from=node1434092970000
task=record_create(#9:-1 v.0) userName=admin). Elapsed=3023ms No server in
conflict. Received: {node1434092970000=waiting-for-response}
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:365)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:192)
... 20 more
Can someone help me explain what's going wrong?
--
---
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.