I'm having the following issue, is it an issue from my configuration files?
Thank you.
*## DB Information*
1. OrientDb VERSION 2.0.2 - (February, 9th 2015) running on CentOS7 64 Bit
2. Three ODB servers in a cluster (1 instance running in orientdb-01 and 2
instances running in orientdb-02 as mentioned below in hazelcast config
file)
3. Java Open_JDK 1.7.0_75
*## Configuration Files*
orientdb-distributed-db-config.json:
{
"autoDeploy": true,
"hotAlignment": false,
"executionMode": "synchronous",
"readQuorum": 1,
"writeQuorum": 2,
"failureAvailableNodesLessQuorum": false,
"readYourWrites": false,
"clusters": {
"internal": {
},
"index": {
},
"*": {
"servers" : [ "<NEW_NODE>" ]
}
}
}
---
<?xml version="1.0" encoding="UTF-8"?>
<!-- ~ Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved. ~
~ Licensed under the Apache License, Version 2.0 (the "License"); ~
you may
not use this file except in compliance with the License. ~ You may
obtain
a copy of the License at ~ ~
http://www.apache.org/licenses/LICENSE-2.0 ~
~ Unless required by applicable law or agreed to in writing,
software ~ distributed
under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
License for
the specific language governing permissions and ~ limitations under
the License. -->
<hazelcast
xsi:schemaLocation="http://www.hazelcast.com/schema/config
hazelcast-config-3.0.xsd"
xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group>
<name>inventory</name>
<password>inventory</password>
</group>
<network>
<port auto-increment="true">2434</port>
<join>
<multicast enabled="false">
<multicast-group>235.1.1.1</multicast-group>
<multicast-port>2434</multicast-port>
</multicast>
<tcp-ip enabled="true">
<member>orientdb-01:2434</member>
<member>orientdb-02:2434</member>
</tcp-ip>
</join>
</network>
<executor-service>
<pool-size>16</pool-size>
</executor-service>
</hazelcast>
*## Steps to reproduce the problem*
*## From the console*
create database remote:localhost/inventory root XXXX plocal
create class lives extends E
create class dataset extends V
create class collection extends V
create vertex collection set(name='FOO',location='FUBAR');
create vertex dataset set (name='BAR',description='FUBAR');
create edge lives from (select from dataset where name='BAR') to (select
from collection where name='FOO');
*## Error*
---------- [OHazelcastPlugin]
2015-02-19 15:17:13:110 INFO [orientdb-01] Saving distributed
configuration file for database 'inventory' to:
/opt/orientdb/databases/inventory/distributed-config.json
[OHazelcastPlugin][orientdb-01] error on executing distributed request 32
on local node: record_update(#20:1 v.1)
com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)
at
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:54)
at
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:41)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2020)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:1651)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.updateRecord(OAbstractPaginatedStorage.java:729)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.updateRecord(ODistributedStorage.java:575)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1722)
at
com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:94)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2274)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2111)
at
com.orientechnologies.orient.server.distributed.task.OUpdateRecordTask.execute(OUpdateRecordTask.java:82)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.executeOnLocalNode(OHazelcastPlugin.java:736)
at
com.orientechnologies.orient.server.hazelcast.ODistributedWorker.onMessage(ODistributedWorker.java:300)
at
com.orientechnologies.orient.server.hazelcast.ODistributedWorker.run(ODistributedWorker.java:121)
2015-02-19 15:18:19:784 WARNING [orientdb-01] detected 1 node(s) in timeout
or in conflict and quorum (2) has not been reached, rolling back changes
for request (id=32 from=orientdb-01 task=record_update(#20:1 v.1)
userName=admin) [ODistributedResponseManager]
2015-02-19 15:18:19:785 WARNING [orientdb-01] Quorum 2 not reached for
request (id=32 from=orientdb-01 task=record_update(#20:1 v.1)
userName=admin). Timeout=33ms Servers in timeout/conflict are:
- orientdb-02:
com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)
Received:
{orientdb-02=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1),
orientdb-01=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)} [ODistributedResponseManager]
2015-02-19 15:18:19:785 WARNING [orientdb-01] sending undo message for
request (id=32 from=orientdb-01 task=record_update(#20:1 v.1)
userName=admin) to server orientdb-02 [ODistributedResponseManager]
2015-02-19 15:18:19:802 WARNING [orientdb-01] sending undo message for
request (id=32 from=orientdb-01 task=record_update(#20:1 v.1)
userName=admin) to server orientdb-01 [ODistributedResponseManager]Cannot
route UPDATE_RECORD operation for #20:1 to the distributed node
com.orientechnologies.orient.server.distributed.ODistributedException:
Error on executing distributed request (id=32 from=orientdb-01
task=record_update(#20:1 v.1) userName=admin) against database
'inventory.[dataset]' to nodes [orientdb-01, orientdb-02]
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:194)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:349)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.updateRecord(ODistributedStorage.java:604)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1722)
at
com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:94)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2274)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:117)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1704)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1695)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:75)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.recursiveLinkSave(ORecordSerializerBinaryV0.java:668)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:682)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:566)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:255)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:104)
at
com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2055)
at
com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:682)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.getRecordBytes(OBinaryNetworkProtocolAbstract.java:407)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.writeRecord(OBinaryNetworkProtocolAbstract.java:422)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.writeIdentifiable(OBinaryNetworkProtocolAbstract.java:139)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1216)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:385)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:216)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65)
Caused by:
com.orientechnologies.orient.server.distributed.ODistributedException:
Quorum 2 not reached for request (id=32 from=orientdb-01
task=record_update(#20:1 v.1) userName=admin). Timeout=33ms Servers in
timeout/conflict are:
- orientdb-02:
com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)
Received:
{orientdb-02=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1),
orientdb-01=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)}
at
com.orientechnologies.orient.server.distributed.ODistributedResponseManager.manageConflicts(ODistributedResponseManager.java:576)
at
com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:340)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.waitForResponse(OHazelcastDistributedDatabase.java:364)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:191)
... 23 more
Error on unmarshalling record #18:0
(com.orientechnologies.orient.server.distributed.ODistributedException:
Quorum 2 not reached for request (id=32 from=orientdb-01
task=record_update(#20:1 v.1) userName=admin). Timeout=33ms Servers in
timeout/conflict are:
- orientdb-02:
com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)
Received:
{orientdb-02=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1),
orientdb-01=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)})
com.orientechnologies.orient.server.distributed.ODistributedException:
Quorum 2 not reached for request (id=32 from=orientdb-01
task=record_update(#20:1 v.1) userName=admin). Timeout=33ms Servers in
timeout/conflict are:
- orientdb-02:
com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)
Received:
{orientdb-02=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1),
orientdb-01=com.orientechnologies.orient.core.exception.OConcurrentModificationException:
Cannot UPDATE the record #20:1 because the version is not the latest.
Probably you are updating an old record or it has been modified by another
user (db=v2 your=v1)}
at
com.orientechnologies.orient.server.distributed.ODistributedResponseManager.manageConflicts(ODistributedResponseManager.java:576)
at
com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:340)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.waitForResponse(OHazelcastDistributedDatabase.java:364)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:191)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:349)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.updateRecord(ODistributedStorage.java:604)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1722)
at
com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:94)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2274)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:117)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1704)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1695)
at
com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:75)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.recursiveLinkSave(ORecordSerializerBinaryV0.java:668)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:682)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:566)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:255)
at
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:104)
at
com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2055)
at
com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:682)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.getRecordBytes(OBinaryNetworkProtocolAbstract.java:407)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.writeRecord(OBinaryNetworkProtocolAbstract.java:422)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.writeIdentifiable(OBinaryNetworkProtocolAbstract.java:139)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1216)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:385)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:216)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65)
2015-02-19 15:18:19:829 WARNING Cannot serialize record:
e[#18:0][#20:1-lives->#22:1] [ONetworkProtocolBinary]
--
---
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.